summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-24 14:56:53 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-24 14:56:57 (GMT)
commit828e763260c257920d91037395c7f88e59243367 (patch)
treec7207945750476271829827053720f8994ba6ca0 /Tests/RunCMake/CMP0040
parent7bc6dccc0a993ddb3681100e28405189be09ff72 (diff)
downloadCMake-828e763260c257920d91037395c7f88e59243367.zip
CMake-828e763260c257920d91037395c7f88e59243367.tar.gz
CMake-828e763260c257920d91037395c7f88e59243367.tar.bz2
Tests: Fix RunCMake.CMP0040 custom command syntax
Diffstat (limited to 'Tests/RunCMake/CMP0040')
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake2
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake2
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake2
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake2
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake2
5 files changed, 5 insertions, 5 deletions
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake
index f9c8afd..880b178 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake
@@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 NEW)
add_library(foobar empty.cpp)
add_custom_command(TARGET foobar PRE_BUILD
- COMMAND "${CMAKE_COMMAND} -E echo hello world"
+ COMMAND ${CMAKE_COMMAND} -E echo hello world
)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
index 276863d..a9f764c 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
@@ -1,5 +1,5 @@
cmake_policy(SET CMP0040 NEW)
add_custom_command(TARGET foobar PRE_BUILD
- COMMAND "${CMAKE_COMMAND} -E hello world"
+ COMMAND ${CMAKE_COMMAND} -E hello world
)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake
index d7ec50d..7a9e91e 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake
@@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 OLD)
add_library(foobar empty.cpp)
add_custom_command(TARGET foobar PRE_BUILD
- COMMAND "${CMAKE_COMMAND} -E echo hello world"
+ COMMAND ${CMAKE_COMMAND} -E echo hello world
)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake
index ef7a0f7..0f5cd15 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake
@@ -1,5 +1,5 @@
cmake_policy(SET CMP0040 OLD)
add_custom_command(TARGET foobar PRE_BUILD
- COMMAND "${CMAKE_COMMAND} -E echo hello world"
+ COMMAND ${CMAKE_COMMAND} -E echo hello world
)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
index 2c3e401..4efeaae 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
@@ -1,4 +1,4 @@
add_custom_command(TARGET foobar PRE_BUILD
- COMMAND "${CMAKE_COMMAND} -E hello world"
+ COMMAND ${CMAKE_COMMAND} -E hello world
)