Fix installation of extra utilities

This commit is contained in:
Martin Hořeňovský 2020-05-06 21:21:08 +02:00
parent 7c816c7c0b
commit 9766a7b200
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 19 additions and 19 deletions

View File

@ -134,25 +134,25 @@ if (NOT_SUBPROJECT)
) )
endif() endif()
if(CATCH_INSTALL_HELPERS) if(CATCH_INSTALL_EXTRAS)
# Install CMake scripts # Install CMake scripts
install( install(
FILES FILES
"extras/ParseAndAddCatchTests.cmake" "extras/ParseAndAddCatchTests.cmake"
"extras/Catch.cmake" "extras/Catch.cmake"
"extras/CatchAddTests.cmake" "extras/CatchAddTests.cmake"
DESTINATION DESTINATION
${CATCH_CMAKE_CONFIG_DESTINATION} ${CATCH_CMAKE_CONFIG_DESTINATION}
) )
# Install debugger helpers # Install debugger helpers
install( install(
FILES FILES
"extras/gdbinit" "extras/gdbinit"
"extras/lldbinit" "extras/lldbinit"
DESTINATION DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/Catch2 ${CMAKE_INSTALL_DATAROOTDIR}/Catch2
) )
endif() endif()
## Provide some pkg-config integration ## Provide some pkg-config integration