-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")
-
-find_package(OpenGL REQUIRED)
-find_package(GLUT REQUIRED)
-find_package(fftw3 REQUIRED)
-
-include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS}
- ${FFTW_INCLUDES})
-
-add_executable(seamulator seamulator.cpp
- sea.cpp watersurface.cpp surfacepoint.cpp
- seaview.cpp)
-
-target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}
- ${FFTW_LIBRARIES} ${FFTW_LIBRARIES_THREADS})