diff --git a/CMakeLists.txt b/CMakeLists.txt index c4c0dc3a..4bfc2c8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,9 @@ if(NOT CMAKE_SKIP_INSTALL_RULES) DESTINATION "${ctre_INSTALL_CMAKEDIR}" NAMESPACE ctre::) - option(ctre_ENABLE_PKGCONFIG "Install a .pc file for the project" ON) + option(ctre_ENABLE_PKGCONFIG "Install a .pc file for the project" OFF) + mark_as_advanced(ctre_ENABLE_PKGCONFIG) + if(ctre_ENABLE_PKGCONFIG) set(ctre_INSTALL_PKGCONFIG "${CMAKE_INSTALL_DATADIR}/pkgconfig/ctre.pc" CACHE FILEPATH "pkgconfig file location relative to the install prefix")