Tests: Fix RunCMake.CMP0040 custom command syntax

This commit is contained in:
Brad King 2016-08-24 10:56:53 -04:00
parent 7bc6dccc0a
commit 828e763260
5 changed files with 5 additions and 5 deletions

View File

@ -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
)

View File

@ -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
)

View File

@ -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
)

View File

@ -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
)

View File

@ -1,4 +1,4 @@
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E hello world"
COMMAND ${CMAKE_COMMAND} -E hello world
)