diff --git a/packaging/CMakeLists.txt b/packaging/CMakeLists.txt index e87a7075fa..bae3647c0b 100644 --- a/packaging/CMakeLists.txt +++ b/packaging/CMakeLists.txt @@ -1,5 +1,5 @@ install ( EXPORT ${PACKAGE_NAME}-targets - NAMESPACE ${PACKAGE_NAME}:: + NAMESPACE ${PROJECT_NAME}:: DESTINATION "${EXPORT_INSTALL_DIR}" ) include ( CMakePackageConfigHelpers ) # Standard CMake module @@ -54,4 +54,4 @@ install(FILES if(MSVC_IDE) INCLUDE_DIRECTORIES("src") SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp") -endif() \ No newline at end of file +endif()