diff options
author | Brad King <brad.king@kitware.com> | 2019-04-30 14:09:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-04-30 14:09:52 (GMT) |
commit | d0e6fc28334023a42fbae797ece8c8e8526dc1c3 (patch) | |
tree | abdba82e756e6aa8545b758f8ce908a67f89ad7b /Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake | |
parent | 60515b205e0151fa0194a984850e652a04a9a165 (diff) | |
parent | ce078dda79df1c8d9f142e45d2fa3cf971a09594 (diff) | |
download | CMake-d0e6fc28334023a42fbae797ece8c8e8526dc1c3.zip CMake-d0e6fc28334023a42fbae797ece8c8e8526dc1c3.tar.gz CMake-d0e6fc28334023a42fbae797ece8c8e8526dc1c3.tar.bz2 |
Merge topic 'relax_TARGET_OBJECT_generator_expr'
ce078dda79 Relax the usage of TARGET_OBJECTS generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3178
Diffstat (limited to 'Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake')
-rw-r--r-- | Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake index 3bb3e37..9fec369 100644 --- a/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake +++ b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake @@ -1,3 +1,3 @@ -add_library(StaticLib empty.cpp) +add_library(IFaceLib INTERFACE ) -file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test_output CONTENT $<TARGET_OBJECTS:StaticLib>) +file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test_output CONTENT $<TARGET_OBJECTS:IFaceLib>) |