Skip to content

Commit 620ed6d

Browse files
committed
Fix version variable name.
The package version was not set correctly, which caused the cmake configuration files to be saved to a folder with blank version name.
1 parent 46dcb62 commit 620ed6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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)