Tests: Fix RunCMake.CMP0040 custom command syntax
This commit is contained in:
parent
7bc6dccc0a
commit
828e763260
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
add_custom_command(TARGET foobar PRE_BUILD
|
||||
COMMAND "${CMAKE_COMMAND} -E hello world"
|
||||
COMMAND ${CMAKE_COMMAND} -E hello world
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue