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 @@ -28,7 +28,7 @@ option (SIGCXX_DISABLE_DEPRECATED "Disable deprecated" OFF)
28
28
29
29
project (sigc++ )
30
30
31
- set ( CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -std=c++17" )
31
+ set ( CMAKE_CXX_STANDARD 17 )
32
32
33
33
set (PROJECT_SOURCE_DIR "${sigc++_SOURCE_DIR}/sigc++" )
34
34
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ add_library(${SIGCPP_LIB_NAME} SHARED ${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} )
30
+ target_compile_definitions ( ${SIGCPP_LIB_NAME} PRIVATE -DSIGC_BUILD )
30
31
31
32
set (INCLUDE_INSTALL_DIR "include/${PROJECT_NAME} -${SIGCXX_API_VERSION} " )
32
33
You can’t perform that action at this time.
0 commit comments