X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6e6de2ae8f5f661500c565aca8c36277e860b834..c02633d77cb05a5deb05440d77b12ccc5bc19b85:/libs/CMakeLists.txt diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index bc632f03..7d971315 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -28,11 +28,11 @@ if ( BUILD_LIB_IA ) target_link_libraries ( ia crypto common ) endif ( BUILD_LIB_IA ) -if ( BUILD_LIB_IBPP ) - add_library ( ibpp STATIC ibpp/all_in_one.cpp ) - target_include_directories ( ibpp PUBLIC ibpp/include ) - target_compile_options ( ibpp PRIVATE -Wno-old-style-cast $<$:-Wno-useless-cast> ) -endif ( BUILD_LIB_IBPP ) +#if ( BUILD_LIB_IBPP ) +# add_library ( ibpp STATIC ibpp/all_in_one.cpp ) +# target_include_directories ( ibpp PUBLIC ibpp/include ) +# target_compile_options ( ibpp PRIVATE -Wno-old-style-cast $<$:-Wno-useless-cast> ) +#endif ( BUILD_LIB_IBPP ) if ( BUILD_LIB_LOGGER ) add_library ( logger STATIC logger/logger.cpp ) @@ -54,6 +54,7 @@ if ( BUILD_LIB_SMUX ) file ( GLOB SMUX_C_FILES smux/*.c ) add_library ( smux STATIC ${SMUX_C_FILES} ) target_include_directories ( smux PUBLIC smux/include smux/include/stg ) + target_compile_options ( smux PRIVATE -Wno-cpp ) endif ( BUILD_LIB_SMUX ) if ( BUILD_LIB_SRVCONF )