CMakeLists.no_api.txt 259 Bytes
Newer Older
Ian Romanick's avatar
Ian Romanick committed
1
2
3
4
5
include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	)

6
7
8
9
10
11
12
13
link_libraries(${OPENGL_egl_LIBRARY})

if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	add_library (glut_egl
		    glut_egl.c
		    glut_egl_x11.c
	)
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")