summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorIosif Neitzke <iosif.neitzke@gmail.com>2014-10-31 16:26:51 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-31 17:19:33 (GMT)
commite9282782e489a78de9c2896ee01fdd02ce8ca396 (patch)
tree7e7180b3cd32072bcf4844f51aa3959816effa6f /Help
parent54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff)
downloadCMake-e9282782e489a78de9c2896ee01fdd02ce8ca396.zip
CMake-e9282782e489a78de9c2896ee01fdd02ce8ca396.tar.gz
CMake-e9282782e489a78de9c2896ee01fdd02ce8ca396.tar.bz2
Help: Fix configure_file call to use COPYONLY, not COPY_ONLY
The configure_file signature has option 'COPYONLY' (no underscore). Fix the example in 'cmake-packages.7.rst'.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-packages.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst
index c4cca6d..5d6201c 100644
--- a/Help/manual/cmake-packages.7.rst
+++ b/Help/manual/cmake-packages.7.rst
@@ -316,7 +316,7 @@ shared library:
)
configure_file(cmake/ClimbingStatsConfig.cmake
"${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfig.cmake"
- COPY_ONLY
+ COPYONLY
)
set(ConfigPackageLocation lib/cmake/ClimbingStats)