summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake')
-rw-r--r--Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
index 8e5fdd0..3bb3e37 100644
--- a/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
+++ b/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
@@ -1,3 +1,3 @@
add_library(StaticLib empty.cpp)
-file(GENERATE OUTPUT test_output CONTENT $<TARGET_OBJECTS:StaticLib>)
+file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test_output CONTENT $<TARGET_OBJECTS:StaticLib>)