1 cmake_minimum_required(VERSION 2.8)
5 find_package(OpenGL REQUIRED)
6 find_package(GLUT REQUIRED)
7 include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS})
9 add_executable(seamulator seamulator.cpp sea.cpp watersurface.cpp surfacepoint.cpp)
10 target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})