Commit 1759c2c2 authored by Samuel Debionne's avatar Samuel Debionne

Fix project version

parent b6c2e2f0
Pipeline #6135 passed with stages
in 5 minutes and 21 seconds
...@@ -56,7 +56,7 @@ if (CAMERA_MASTER_PROJECT) ...@@ -56,7 +56,7 @@ if (CAMERA_MASTER_PROJECT)
endif() endif()
# CMake additional macros # CMake additional macros
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${LIMA_CMAKE_INCLUDE_DIRS} ${CMAKE_MODULE_PATH}) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${LIMA_CMAKE_INCLUDE_DIRS} ${CMAKE_MODULE_PATH})
# Set version # Set version
include(project_version) include(project_version)
...@@ -140,7 +140,7 @@ target_include_directories(pco ...@@ -140,7 +140,7 @@ target_include_directories(pco
# Set version and output name # Set version and output name
set_target_properties(pco PROPERTIES set_target_properties(pco PROPERTIES
OUTPUT_NAME "lima${PROJECT_NAME_LOWER}" OUTPUT_NAME "lima${PROJECT_NAME_LOWER}"
VERSION "${VERSION}" VERSION "${PROJECT_VERSION}"
SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}") SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
target_link_libraries(pco PUBLIC limacore) target_link_libraries(pco PUBLIC limacore)
......
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