Commit 4f75814e authored by Guilhem Saurel's avatar Guilhem Saurel

[CMake] fix SUFFIX_SO_VERSION

parent 26758a0a
......@@ -174,7 +174,7 @@ OPTION(SUFFIX_SO_VERSION
"Suffix shared library name by a string depending on git status of project"
ON)
IF (${SUFFIX_SO_VERSION} EQUAL "ON")
IF (SUFFIX_SO_VERSION)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
ENDIF ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment