mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Fixed: link X11 on Mac OS X if without WITH_COCOA
This commit is contained in:
parent
7eff40e417
commit
67d3442211
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ ELSE(WIN32)
|
||||||
# NOTE: I know, those hardcoded things are evil. But FindOpenGL on Mac
|
# NOTE: I know, those hardcoded things are evil. But FindOpenGL on Mac
|
||||||
# simply does not look for X11's OpenGL, just for the native one.
|
# simply does not look for X11's OpenGL, just for the native one.
|
||||||
INCLUDE_DIRECTORIES("/usr/X11/include")
|
INCLUDE_DIRECTORIES("/usr/X11/include")
|
||||||
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} "-L/usr/X11/lib" "-lGL")
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB}
|
||||||
|
"-L/usr/X11/lib" "-lGL" ${X11_LIBRARIES})
|
||||||
ENDIF(WITH_COCOA)
|
ENDIF(WITH_COCOA)
|
||||||
ELSE(APPLE)
|
ELSE(APPLE)
|
||||||
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_LIBRARIES})
|
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_LIBRARIES})
|
||||||
|
|
Loading…
Reference in a new issue