]> git.treefish.org Git - seamulator.git/blobdiff - CMakeLists.txt
place plucks at random positions
[seamulator.git] / CMakeLists.txt
index aca8dab2ed1e1a5421b970f8720482e2eac1723f..64f8a81753e671aac9e475c9a92a447ccb29f4d4 100644 (file)
@@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 2.8)
 
 project(seamulator)
 
-find_package(OpenGL REQUIRED)
-find_package(GLUT REQUIRED)
-include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS})
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules")
 
-add_executable(seamulator seamulator.cpp sea.cpp watersurface.cpp surfacepoint.cpp)
-target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})
+add_subdirectory(src)