Fixed fmax for all systems
[pong] / CMakeLists.txt
1 PROJECT(Pong)
2 ADD_DEFINITIONS( -Wall -W )
3 FIND_PACKAGE(OpenGL)
4 FIND_PACKAGE(GLU)
5 FIND_PACKAGE(GLUT)
6 SET(GL_ALL ${OPENGL_LIBRARIES} ${GLU_LIBRARIES} ${GLUT_LIBRARIES})
7
8 ADD_EXECUTABLE(pong pong.c)
9 TARGET_LINK_LIBRARIES(pong ${GL_ALL})
10