Skip to content

Commit 1c08764

Browse files
Merge pull request #560 from timfelle/fix/cmake
Fix version variable name.
2 parents 46dcb62 + 620ed6d commit 1c08764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ set ( USE_GNU_INSTALL_CONVENTION FALSE
111111
# Set the package name to be specific to the compiler used, so that
112112
# versions compiled with different compilers can be installed in parallel
113113
string ( TOLOWER ${PROJECT_NAME}-${CMAKE_Fortran_COMPILER_ID} PACKAGE_NAME )
114-
set ( PACKAGE_VERSION "${PACKAGE_NAME}-${VERSION}" )
114+
set ( PACKAGE_VERSION "${PACKAGE_NAME}-${PROJECT_VERSION}" )
115115

116116
if (USE_GNU_INSTALL_CONVENTION)
117117
include(GNUInstallDirs)

0 commit comments

Comments
 (0)