summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-30 14:09:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-04-30 14:09:52 (GMT)
commitd0e6fc28334023a42fbae797ece8c8e8526dc1c3 (patch)
treeabdba82e756e6aa8545b758f8ce908a67f89ad7b /Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
parent60515b205e0151fa0194a984850e652a04a9a165 (diff)
parentce078dda79df1c8d9f142e45d2fa3cf971a09594 (diff)
downloadCMake-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.cmake4
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>)