diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index 60c6d273..57d27d44 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -196,6 +196,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang") endif() set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit") + elseif(WIN32) + set(ldflags "${ldflags} -static-libgcc -static-libstdc++") else() if(os STREQUAL "linux") set(sys_libs ${sys_libs} dl)