Skip to content
Snippets Groups Projects
Commit 7eed1112 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Update VERSION by PROJECT_VERSION to be compliant with new approach

parent 42f585da
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ find_package(cpptango CONFIG REQUIRED)
find_package(yat CONFIG REQUIRED)
add_compile_definitions(YAT4TANGO_PROJECT_NAME=${PROJECT_NAME})
add_compile_definitions(YAT4TANGO_PROJECT_VERSION=${VERSION})
add_compile_definitions(YAT4TANGO_PROJECT_VERSION=${PROJECT_VERSION})
if (UNIX)
add_definitions(-std=c++0x)
......
......@@ -27,7 +27,7 @@ target_include_directories(yat4tango PUBLIC ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(yat4tango ${yat_LIBRARIES} ${cpptango_LIBRARIES})
if(MAJOR_VERSION)
set_target_properties (yat4tango PROPERTIES VERSION ${VERSION} SOVERSION ${MAJOR_VERSION})
set_target_properties (yat4tango PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${MAJOR_VERSION})
endif()
install (DIRECTORY ${CMAKE_SOURCE_DIR}/include/yat4tango DESTINATION include
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment