summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 7609655d..2c1ce2ff 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -22,8 +22,7 @@ fm_add_install_executable(${self})
set(save-dir "${CMAKE_BINARY_DIR}/test/save")
file(REMOVE_RECURSE "${save-dir}")
-file(MAKE_DIRECTORY "${save-dir}")
-file(GLOB saves "save/*.dat" CONFIGURE_ARGS)
-foreach(file ${saves})
- configure_file("${file}" "${save-dir}" COPYONLY)
+file(GLOB files "save/*.dat" CONFIGURE_ARGS)
+foreach(file ${files})
+ install(FILES "${file}" DESTINATION "${save-dir}")
endforeach()