ryzom_client_cmake_mac_not_link_librt.patch

rti, 05/17/2010 04:05 pm

Download (752 Bytes)

b/code/ryzom/CMakeModules/nel.cmake Mon May 17 15:56:19 2010 +0200
79 79
    IF(WITH_COVERAGE)
80 80
      SET(PLATFORM_CFLAGS "-fprofile-arcs -ftest-coverage ${PLATFORM_CFLAGS}")
81 81
    ENDIF(WITH_COVERAGE)
82
    SET(PLATFORM_LINKFLAGS "${CMAKE_THREAD_LIBS_INIT} -lc -lm -lstdc++ -lrt")
82
    SET(PLATFORM_LINKFLAGS "${CMAKE_THREAD_LIBS_INIT} -lc -lm -lstdc++")
83
    IF(NOT APPLE)
84
      SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -lrt")
85
    ENDIF(NOT APPLE)
83 86
    SET(NL_DEBUG_CFLAGS "-DNL_DEBUG -g")
84 87
    SET(NL_RELEASE_CFLAGS "-DNL_RELEASE -O6")
85 88
    SET(NL_RELEASEDEBUG_CFLAGS "-DNL_RELEASE_DEBUG -g -finline-functions -O3 ")