cmake_modules/platform.cmake
changeset 9218 673bf356ad8c
parent 9211 6235925d0fa1
child 9219 0a4b6bb69f99
equal deleted inserted replaced
9217:992b7ef2eba3 9218:673bf356ad8c
    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)