Skip to content

Commit

Permalink
Correct CMake namespace to match documentation.
Browse files Browse the repository at this point in the history
Correct the namespace added to the package in the CMake build-system installation. Instead of jsonfortran-<compiler_id> it is now simply jsonfortran.
  • Loading branch information
EmilyBourne committed Aug 21, 2024
1 parent cde2620 commit c62a894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
install ( EXPORT ${PACKAGE_NAME}-targets
NAMESPACE ${PACKAGE_NAME}::
NAMESPACE ${PROJECT_NAME}::
DESTINATION "${EXPORT_INSTALL_DIR}" )

include ( CMakePackageConfigHelpers ) # Standard CMake module
Expand Down Expand Up @@ -54,4 +54,4 @@ install(FILES
if(MSVC_IDE)
INCLUDE_DIRECTORIES("src")
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp")
endif()
endif()

0 comments on commit c62a894

Please sign in to comment.