diff --git a/CMakeLists.txt b/CMakeLists.txt index f946744..f806f06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ set(CMAKE_CXX_STANDARD 17) add_library(scs_sdk_controller SHARED scs_sdk_controller.cpp) +target_link_options(scs_sdk_controller PRIVATE "-static-libstdc++" "-static-libgcc") + target_include_directories(scs_sdk_controller PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/scs_sdk/include/"