Skip to content

Commit 621c317

Browse files
committed
Fix
1 parent 1634fdd commit 621c317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/cmake/IceTargets.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ if(NOT DEFINED Ice_VERSION)
1919
file(STRINGS "${Ice_INCLUDE_DIR}/Ice/Config.h" _ice_config_h_content REGEX "#define ICE_([A-Z]+)_VERSION ")
2020

2121
if("${_ice_config_h_content}" MATCHES "#define ICE_STRING_VERSION \"([^\"]+)\"")
22-
set(Ice_VERSION "${CMAKE_MATCH_1}" DOC "Ice version")
22+
set(Ice_VERSION "${CMAKE_MATCH_1}")
2323
endif()
2424

2525
if("${_ice_config_h_content}" MATCHES "#define ICE_SO_VERSION \"([^\"]+)\"")
26-
set(Ice_SO_VERSION "${CMAKE_MATCH_1}" DOC "Ice SO version")
26+
set(Ice_SO_VERSION "${CMAKE_MATCH_1}")
2727
endif()
2828

2929
unset(_ice_config_h_content)

0 commit comments

Comments
 (0)