|
|
|
@ -74,7 +74,7 @@ MACRO(NL_ADD_RUNTIME_FLAGS name)
|
|
|
|
|
# LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}")
|
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
IF(WITH_STLPORT)
|
|
|
|
|
TARGET_LINK_LIBRARIES(${name} ${STLPORT_LIBRARIES})
|
|
|
|
|
TARGET_LINK_LIBRARIES(${name} ${STLPORT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
|
ENDIF(WITH_STLPORT)
|
|
|
|
|
ENDMACRO(NL_ADD_RUNTIME_FLAGS)
|
|
|
|
|
|
|
|
|
@ -182,7 +182,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
|
|
|
|
|
ELSE(WIN32 AND MFC_FOUND)
|
|
|
|
|
OPTION(WITH_MFC "With MFC Support" OFF)
|
|
|
|
|
ENDIF(WIN32 AND MFC_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
# Optional support
|
|
|
|
|
###
|
|
|
|
@ -191,7 +191,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
|
|
|
|
|
ELSE(WIN32)
|
|
|
|
|
OPTION(WITH_STLPORT "With STLport support." OFF)
|
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OPTION(BUILD_DASHBOARD "Build to the CDash dashboard" OFF)
|
|
|
|
|
|
|
|
|
|
OPTION(WITH_NEL "Build NeL (nearly always required)." ON )
|
|
|
|
@ -345,7 +345,7 @@ MACRO(NL_SETUP_BUILD_FLAGS)
|
|
|
|
|
|
|
|
|
|
SET(CMAKE_C_FLAGS ${PLATFORM_CFLAGS} CACHE STRING "" FORCE)
|
|
|
|
|
SET(CMAKE_CXX_FLAGS ${PLATFORM_CXXFLAGS} CACHE STRING "" FORCE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Debug
|
|
|
|
|
SET(CMAKE_C_FLAGS_DEBUG ${NL_DEBUG_CFLAGS} CACHE STRING "" FORCE)
|
|
|
|
|
SET(CMAKE_CXX_FLAGS_DEBUG ${NL_DEBUG_CFLAGS} CACHE STRING "" FORCE)
|
|
|
|
@ -415,7 +415,7 @@ MACRO(NL_SETUP_PREFIX_PATHS)
|
|
|
|
|
SET(NL_DRIVER_PREFIX "${CMAKE_INSTALL_PREFIX}/lib/nel" CACHE PATH "Installation path for drivers.")
|
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
ENDIF(NOT NL_DRIVER_PREFIX)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENDMACRO(NL_SETUP_PREFIX_PATHS)
|
|
|
|
|
|
|
|
|
|
MACRO(RYZOM_SETUP_PREFIX_PATHS)
|
|
|
|
|