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:
parent
54ff77dc62
commit
e9282782e4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue