equal
deleted
inserted
replaced
79 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc ") |
79 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc ") |
80 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc ") |
80 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc ") |
81 endif(MINGW) |
81 endif(MINGW) |
82 |
82 |
83 if(WIN32) |
83 if(WIN32) |
84 if(NOT BUILD_SHARED_LIB) |
84 if(NOT ${BUILD_SHARED_LIB}) |
85 message(FATAL_ERROR "Static linking is not supported on Windows") |
85 message(FATAL_ERROR "Static linking is not supported on Windows") |
86 endif() |
86 endif() |
87 endif(WIN32) |
87 endif(WIN32) |