X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/94e405360849659ff951816a13cf510f11a7eee7..22a843aa7b0ca3d8f307ba5c0a27ea9d6da50c00:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index aca8dab..64f8a81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)