diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-05 07:38:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-05 07:39:00 +0100 |
commit | 8cd318bc55e9d1588307999618a0d8bef09f9f68 (patch) | |
tree | 96ef370ce7b976303c189f7a244ccec51aaa1d59 /test | |
parent | faaacb7924962acd6b865224e42d5f08625914cf (diff) |
bbb
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 7 |
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() |