Merge branch 'master' into conan
This commit is contained in:
commit
5c296632b0
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 3.7)
|
cmake_minimum_required(VERSION 3.7)
|
||||||
project(UDPC)
|
project(UDPC)
|
||||||
|
|
||||||
set(UDPC_VERSION 1.0)
|
set(UDPC_VERSION 1.1)
|
||||||
|
set(UDPC_SOVERSION 1)
|
||||||
|
|
||||||
set(UDPC_SOURCES
|
set(UDPC_SOURCES
|
||||||
src/UDPConnection.cpp
|
src/UDPConnection.cpp
|
||||||
|
@ -22,7 +23,7 @@ endif()
|
||||||
|
|
||||||
add_library(UDPC ${UDPC_SOURCES})
|
add_library(UDPC ${UDPC_SOURCES})
|
||||||
|
|
||||||
set_target_properties(UDPC PROPERTIES VERSION ${UDPC_VERSION})
|
set_target_properties(UDPC PROPERTIES VERSION ${UDPC_VERSION} SOVERSION ${UDPC_SOVERSION})
|
||||||
|
|
||||||
target_compile_features(UDPC PUBLIC cxx_std_11)
|
target_compile_features(UDPC PUBLIC cxx_std_11)
|
||||||
target_link_libraries(UDPC PUBLIC pthread)
|
target_link_libraries(UDPC PUBLIC pthread)
|
||||||
|
|
Loading…
Reference in a new issue