diff --git a/CMakeLists.txt b/CMakeLists.txt index 703666c..c06bc94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,7 @@ if(NAMEOF_OPT_INSTALL) ARCH_INDEPENDENT ) install(FILES "${CMAKE_CONFIG_VERSION_FILE_NAME}" - DESTINATION "${CMAKE_INSTALL_LIBDIR_ARCHIND}/cmake/${CMAKE_EXPORT_NAME}" + DESTINATION "${CMAKE_INSTALL_LIBDIR_ARCHIND}/cmake/${PROJECT_NAME}" ) configure_pkg_config_file("${PROJECT_NAME}"