summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-31 17:16:07 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-31 17:20:19 (GMT)
commit4abbb1400d81e1288cdf1e2f708eaa938f7b3955 (patch)
tree7073decf7d5916dccbffb72867f47393057a99cd
parentbd7ba8e25f0bc2d57bc162d2d945e10bad29a327 (diff)
downloadCMake-4abbb1400d81e1288cdf1e2f708eaa938f7b3955.zip
CMake-4abbb1400d81e1288cdf1e2f708eaa938f7b3955.tar.gz
CMake-4abbb1400d81e1288cdf1e2f708eaa938f7b3955.tar.bz2
Qt4: Fix configure_file call to use COPYONLY, not COPY_ONLY
-rw-r--r--Modules/Qt4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Qt4Macros.cmake b/Modules/Qt4Macros.cmake
index 8c4daac..6516b0a 100644
--- a/Modules/Qt4Macros.cmake
+++ b/Modules/Qt4Macros.cmake
@@ -232,7 +232,7 @@ macro (QT4_ADD_RESOURCES outfiles )
# let's make a configured file and add it as a dependency so cmake is run
# again when dependencies need to be recomputed.
QT4_MAKE_OUTPUT_FILE("${infile}" "" "qrc.depends" out_depends)
- configure_file("${infile}" "${out_depends}" COPY_ONLY)
+ configure_file("${infile}" "${out_depends}" COPYONLY)
else()
# The .qrc file does not exist (yet). Let's add a dependency and hope
# that it will be generated later