]> git.saurik.com Git - apt.git/blobdiff - CMake/Misc.cmake
CMake: Use COPYONLY instead of @ONLY
[apt.git] / CMake / Misc.cmake
index 79587b0681cf8a6569e9627a007855734630896e..68ab227581498bc5e459981109848864481404ce 100644 (file)
@@ -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()