cmake_modules/platform.cmake
changeset 9191 fc54667b1203
parent 9151 1d2df388fcc6
child 9219 0a4b6bb69f99
equal deleted inserted replaced
9189:b0d16164dfa0 9191:fc54667b1203
    71 #set deployment target
    71 #set deployment target
    72     list(APPEND pascal_flags "-k-macosx_version_min" "-k${minimum_macosx_version}" "-XR${CMAKE_OSX_SYSROOT}")
    72     list(APPEND pascal_flags "-k-macosx_version_min" "-k${minimum_macosx_version}" "-XR${CMAKE_OSX_SYSROOT}")
    73 
    73 
    74 endif(APPLE)
    74 endif(APPLE)
    75 
    75 
    76 if(WINDOWS)
    76 if(WIN32)
    77     #this flags prevents a few dll hell problems
    77     #this flags prevents a few dll hell problems
    78     set(CMAKE_C_FLAGS "-static-libgcc ${CMAKE_C_FLAGS}")
    78     set(CMAKE_C_FLAGS "-static-libgcc ${CMAKE_C_FLAGS}")
    79 endif(WINDOWS)
    79 endif(WIN32)
    80 
    80