Commit 2cee8bb6 authored by Samuel Debionne's avatar Samuel Debionne

Fix project version

parent 713e07a6
Pipeline #6328 passed with stages
in 10 minutes and 27 seconds
......@@ -57,7 +57,7 @@ if(MSVC AND MSVC_VERSION GREATER 1500)
endif()
# CMake additional macros
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
include(LimaTools)
# Import pthread
......@@ -233,7 +233,7 @@ add_library(limacore SHARED
# Set version
set_target_properties(limacore PROPERTIES
VERSION "${VERSION}"
VERSION "${PROJECT_VERSION}"
SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
# Generate export macros
......
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