summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 8473f091..3764142f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -20,14 +20,12 @@ endif()
fm_add_install_executable(${self})
-set(save-dir "${CMAKE_BINARY_DIR}/test/save")
file(GLOB files "save/*.dat" CONFIGURE_ARGS)
foreach(file ${files})
- install(FILES "${file}" DESTINATION "${save-dir}")
+ install(FILES "${file}" DESTINATION "${CMAKE_BINARY_DIR}/test/save")
endforeach()
-set(json-dir "${CMAKE_BINARY_DIR}/test/json")
file(GLOB files "json/*.json" CONFIGURE_ARGS)
foreach(file ${files})
- install(FILES "${file}" DESTINATION "${json-dir}")
+ install(FILES "${file}" DESTINATION "${CMAKE_BINARY_DIR}/test/json")
endforeach()