[fc7596]: config / cmake / Modules / UseVGUI.cmake  Maximize  Restore  History

Download this file

24 lines (18 with data), 668 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SET( HAS_VGUI "NO" )
IF(BUILD_VGUI)
INCLUDE(${MODULE_PATH}/NewCMake/FindOpenGL.cmake)
IF (OPENGL_FOUND)
IF (OPENGL_GLU_FOUND)
INCLUDE_DIRECTORIES( ${OPENGL_INCLUDE_PATH} )
SET( HAS_VGUI "YES" )
ADD_DEFINITIONS( -DHAS_OPENGL)
# There is a bug in the CMake 1.4.x dependency analysis that
# affects the vgui dependencies: the libraries get re-ordered
# incorrectly. This is a work-around until that gets fixed.
INCLUDE(${MODULE_PATH}/NewCMake/FindGTK.cmake)
IF(VGUI_USE_GTK)
LINK_LIBRARIES( ${GTK_LIBRARIES} ${OPENGL_LIBRARIES} )
ENDIF(VGUI_USE_GTK)
ENDIF (OPENGL_GLU_FOUND)
ENDIF (OPENGL_FOUND)
ENDIF(BUILD_VGUI)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks