Skip to content

Commit dbbf9d5

Browse files
committed
BUGFIX: Tell CMake real isntalled version of OC
1 parent f008516 commit dbbf9d5

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
@@ -116,7 +116,7 @@ install(EXPORT OpenCoarraysTargets
116116
include(CMakePackageConfigHelpers)
117117
write_basic_package_version_file(
118118
"${CMAKE_CURRENT_BINARY_DIR}/OpenCoarraysConfigVersion.cmake"
119-
VERSION 1.0
119+
VERSION "${opencoarrays_VERSION}"
120120
COMPATIBILITY AnyNewerVersion
121121
)
122122
configure_file(OpenCoarraysConfig.cmake.in CMakeFiles/OpenCoarraysConfig.cmake @ONLY)

0 commit comments

Comments
 (0)