File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ set (PACKAGE_VERSION ${SIGCXX_MAJOR_VERSION}.${SIGCXX_MINOR_VERSION}.${SIGCXX_MI
25
25
set (LIBSIGCPP_SOVERSION 0 )
26
26
27
27
option (SIGCXX_DISABLE_DEPRECATED "Disable deprecated" OFF )
28
+ option (BUILD_SHARED_LIBS "Build libsigc++ as a shared library" ON )
28
29
29
30
project (sigc++ )
30
31
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ set (SOURCE_FILES
23
23
24
24
set (SIGCPP_LIB_NAME sigc-${SIGCXX_API_VERSION} )
25
25
26
- add_library (${SIGCPP_LIB_NAME} SHARED ${SOURCE_FILES} )
26
+ add_library (${SIGCPP_LIB_NAME} ${SOURCE_FILES} )
27
27
28
28
set_property (TARGET ${SIGCPP_LIB_NAME} PROPERTY VERSION ${PACKAGE_VERSION} )
29
29
set_property (TARGET ${SIGCPP_LIB_NAME} PROPERTY SOVERSION ${LIBSIGCPP_SOVERSION} )
You can’t perform that action at this time.
0 commit comments