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
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ shared library:
) )
configure_file(cmake/ClimbingStatsConfig.cmake configure_file(cmake/ClimbingStatsConfig.cmake
"${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfig.cmake"
COPY_ONLY COPYONLY
) )
set(ConfigPackageLocation lib/cmake/ClimbingStats) set(ConfigPackageLocation lib/cmake/ClimbingStats)