Commit 6a3a5203 authored by Samuel Debionne's avatar Samuel Debionne
Browse files

Fix project version

parent 9d0e2744
Pipeline #6130 passed with stages
in 6 minutes and 10 seconds
......@@ -56,7 +56,7 @@ if (CAMERA_MASTER_PROJECT)
endif()
# 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
include(project_version)
......@@ -117,7 +117,7 @@ generate_export_header(eiger)
# Set version and output name
set_target_properties(eiger PROPERTIES
OUTPUT_NAME "lima${PROJECT_NAME_LOWER}"
VERSION "${VERSION}"
VERSION "${PROJECT_VERSION}"
SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
# Add dependencies
......
Supports Markdown
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