cmake_modules/platform.cmake
branchsdl2transition
changeset 9705 322fe1736347
parent 9673 5be4de0eb4b0
child 9707 c433e74da79b
equal deleted inserted replaced
9703:966d180184b4 9705:322fe1736347
    95         add_flag_append(CMAKE_Pascal_FLAGS "-k-macosx_version_min -k${minimum_macosx_version}")
    95         add_flag_append(CMAKE_Pascal_FLAGS "-k-macosx_version_min -k${minimum_macosx_version}")
    96     endif()
    96     endif()
    97 
    97 
    98     #add user framework directory
    98     #add user framework directory
    99     add_flag_append(CMAKE_Pascal_FLAGS "-Ff~/Library/Frameworks")
    99     add_flag_append(CMAKE_Pascal_FLAGS "-Ff~/Library/Frameworks")
       
   100 
       
   101     #workaround most of the -Fl settings getting lost
       
   102     add_flag_append(CMAKE_Pascal_FLAGS "-k-L${LIBRARY_OUTPUT_PATH}")
   100 endif(APPLE)
   103 endif(APPLE)
   101 
   104 
   102 if(MINGW)
   105 if(MINGW)
   103     #this flags prevents a few dll hell problems
   106     #this flags prevents a few dll hell problems
   104     add_flag_append(CMAKE_C_FLAGS "-static-libgcc")
   107     add_flag_append(CMAKE_C_FLAGS "-static-libgcc")