summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake')
-rw-r--r--Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake b/Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake
index 1a373b9..8fc1218 100644
--- a/Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake
+++ b/Tests/RunCMake/CPackInstallProperties/FilenameGenex.cmake
@@ -1,6 +1,6 @@
add_executable(mytest test.cpp)
-file(GENERATE OUTPUT runtest_info.cmake CONTENT [[
+file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/runtest_info.cmake CONTENT [[
set(EXPECTED_MYTEST_NAME "$<TARGET_FILE_NAME:mytest>")
]])