diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb1b16..fb63ee4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,7 +106,7 @@ endif() include(CMakePackageConfigHelpers) -set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake") +set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") write_basic_package_version_file( "${CMAKE_CURRENT_BINARY_DIR}/BcUnitConfigVersion.cmake" VERSION ${PACKAGE_VERSION}