Skip to content

Commit

Permalink
Merge pull request #428 from islas/installConfigMatchPackageName
Browse files Browse the repository at this point in the history
Use install directory that matches package name
  • Loading branch information
WardF authored Jan 13, 2024
2 parents a8e09f6 + 9d88c7d commit 4be252a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ FILE(COPY "${CMAKE_BINARY_DIR}/tmp/nf-config"

include(CMakePackageConfigHelpers)

set(ConfigPackageLocation "${CMAKE_INSTALL_LIBDIR}/cmake/netCDF")
set(ConfigPackageLocation "${CMAKE_INSTALL_LIBDIR}/cmake/netCDF-Fortran")

write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/netCDF-FortranConfigVersion.cmake"
Expand Down

0 comments on commit 4be252a

Please sign in to comment.