1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 22:37:30 +08:00

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'.
This commit is contained in:
Iosif Neitzke
2014-10-31 11:26:51 -05:00
committed by Brad King
parent 54ff77dc62
commit e9282782e4

View File

@@ -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)