Skip to content

Commit

Permalink
Merge pull request #560 from timfelle/fix/cmake
Browse files Browse the repository at this point in the history
Fix version variable name.
  • Loading branch information
jacobwilliams authored May 27, 2024
2 parents 46dcb62 + 620ed6d commit 1c08764
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 @@ -111,7 +111,7 @@ set ( USE_GNU_INSTALL_CONVENTION FALSE
# Set the package name to be specific to the compiler used, so that
# versions compiled with different compilers can be installed in parallel
string ( TOLOWER ${PROJECT_NAME}-${CMAKE_Fortran_COMPILER_ID} PACKAGE_NAME )
set ( PACKAGE_VERSION "${PACKAGE_NAME}-${VERSION}" )
set ( PACKAGE_VERSION "${PACKAGE_NAME}-${PROJECT_VERSION}" )

if (USE_GNU_INSTALL_CONVENTION)
include(GNUInstallDirs)
Expand Down

0 comments on commit 1c08764

Please sign in to comment.