|
|
|
@ -14,6 +14,10 @@ NL_TARGET_DRIVER(${NLDRV_OGL_LIB} ${SRC})
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
|
|
|
|
|
|
|
|
|
|
IF(WITH_STLPORT)
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
|
ENDIF(WITH_STLPORT)
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} nel3d nelmisc ${OPENGL_gl_LIBRARY})
|
|
|
|
|
NL_DEFAULT_PROPS(${NLDRV_OGL_LIB} "NeL, Driver, Video: OpenGL")
|
|
|
|
|
NL_ADD_LIB_SUFFIX(${NLDRV_OGL_LIB})
|
|
|
|
@ -28,7 +32,7 @@ ELSE(WIN32)
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${CARBON})
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${COCOA})
|
|
|
|
|
ELSE(APPLE)
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_LIB})
|
|
|
|
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_X11_LIB})
|
|
|
|
|
IF(XF86VidMode_FOUND)
|
|
|
|
|
INCLUDE_DIRECTORIES(${XF86VidMode_INCLUDE_DIR})
|
|
|
|
|
ADD_DEFINITIONS(${XF86VidMode_DEFINITIONS})
|
|
|
|
|