Skip to content

Commit c62a894

Browse files
committed
Correct CMake namespace to match documentation.
Correct the namespace added to the package in the CMake build-system installation. Instead of jsonfortran-<compiler_id> it is now simply jsonfortran.
1 parent cde2620 commit c62a894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
install ( EXPORT ${PACKAGE_NAME}-targets
2-
NAMESPACE ${PACKAGE_NAME}::
2+
NAMESPACE ${PROJECT_NAME}::
33
DESTINATION "${EXPORT_INSTALL_DIR}" )
44

55
include ( CMakePackageConfigHelpers ) # Standard CMake module
@@ -54,4 +54,4 @@ install(FILES
5454
if(MSVC_IDE)
5555
INCLUDE_DIRECTORIES("src")
5656
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp")
57-
endif()
57+
endif()

0 commit comments

Comments
 (0)