Skip to content

Commit 4f75814

Browse files
committed
[CMake] fix SUFFIX_SO_VERSION
1 parent 26758a0 commit 4f75814

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
@@ -174,7 +174,7 @@ OPTION(SUFFIX_SO_VERSION
174174
"Suffix shared library name by a string depending on git status of project"
175175
ON)
176176
177-
IF (${SUFFIX_SO_VERSION} EQUAL "ON")
177+
IF (SUFFIX_SO_VERSION)
178178
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
179179
ENDIF ()
180180

0 commit comments

Comments
 (0)