diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-29 16:43:28 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-29 17:44:54 (GMT) |
commit | f6b16d4b0642d26111cddff714b464e22b715482 (patch) | |
tree | 2f9e9edc118a85091b9d7631f43830d1707029e6 /Tests/CMakeCommands | |
parent | b3a7e19ee479fda18b1dfe237fc4b78467c05fd7 (diff) | |
download | CMake-f6b16d4b0642d26111cddff714b464e22b715482.zip CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.gz CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.bz2 |
Don't allow targets args in the new target commands.
Diffstat (limited to 'Tests/CMakeCommands')
-rw-r--r-- | Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/CMakeCommands/target_include_directories/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt b/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt index 3eca7fc..00cba44 100644 --- a/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt +++ b/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt @@ -17,7 +17,7 @@ add_executable(consumer ) target_compile_definitions(consumer - PRIVATE target_compile_definitions importedlib + PRIVATE $<TARGET_PROPERTY:target_compile_definitions,INTERFACE_COMPILE_DEFINITIONS> $<$<TARGET_DEFINED:notdefined>:SHOULD_NOT_BE_DEFINED> $<$<TARGET_DEFINED:target_compile_definitions>:SHOULD_BE_DEFINED> ) diff --git a/Tests/CMakeCommands/target_include_directories/CMakeLists.txt b/Tests/CMakeCommands/target_include_directories/CMakeLists.txt index e190161..89b61f3 100644 --- a/Tests/CMakeCommands/target_include_directories/CMakeLists.txt +++ b/Tests/CMakeCommands/target_include_directories/CMakeLists.txt @@ -43,5 +43,5 @@ add_executable(consumer ) target_include_directories(consumer - PRIVATE target_include_directories + PRIVATE $<TARGET_PROPERTY:target_include_directories,INTERFACE_INCLUDE_DIRECTORIES> ) |