Skip to content
This repository was archived by the owner on Aug 17, 2021. It is now read-only.

Commit 6f1d2f5

Browse files
committed
set soversion/soname
1 parent f2592da commit 6f1d2f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ project(NodeEditor CXX)
55

66
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
77
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
8+
set(CORE_VERSION "2")
89

910
get_directory_property(_has_parent PARENT_DIRECTORY)
1011
if(_has_parent)
@@ -77,6 +78,10 @@ add_library(nodes
7778
)
7879
add_library(NodeEditor::nodes ALIAS nodes)
7980

81+
set_target_properties(nodes PROPERTIES
82+
SOVERSION ${CORE_VERSION}
83+
)
84+
8085
target_include_directories(nodes
8186
PUBLIC
8287
$<INSTALL_INTERFACE:include>

0 commit comments

Comments
 (0)