diff options
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake b/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake index 64abc5f..9e246b2 100644 --- a/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake +++ b/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY.cmake @@ -1,8 +1,4 @@ - -enable_language(CXX) - add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/copied_file.cpp" COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp" "${CMAKE_CURRENT_BINARY_DIR}/copied_file$<TARGET_PROPERTY:NotAProperty>.cpp" ) - -add_library(empty "${CMAKE_CURRENT_BINARY_DIR}/copied_file.cpp") +add_custom_target(drive DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/copied_file.cpp") |