summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-11 17:54:19 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-11 19:50:57 +0200
commit389e8322fcd380d133892bc6f126e56737739fa5 (patch)
treea7e87c16f4e5af6a448d308d01b112c50187148d /CMake
parent7363c98f940f267b5c4186b6578ac79a98b501e0 (diff)
CMake: Use COPYONLY instead of @ONLY
I don't know what happened back in 2009 when I wrote this, but it seems I used the wrong option. These files should not have any variable substitution done to them.
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()