summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Misc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Misc.cmake b/CMake/Misc.cmake
index 79587b068..68ab22758 100644
--- a/CMake/Misc.cmake
+++ b/CMake/Misc.cmake
@@ -4,7 +4,7 @@ include(CheckCXXCompilerFlag)
function(flatify target headers)
foreach(header ${headers})
get_filename_component(tgt ${header} NAME)
- configure_file(${header} ${target}/${tgt} @ONLY)
+ configure_file(${header} ${target}/${tgt} COPYONLY)
endforeach(header ${headers})
endfunction()