X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/1c3ed2ee1ad119ea79307299696b623261e08d8a..40fe15ee6190427f3bbc5db4ff640442626cc3bb:/CMakeLists.txt?ds=inline diff --git a/CMakeLists.txt b/CMakeLists.txt index 63f645f..5fff49e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,12 +2,4 @@ cmake_minimum_required(VERSION 2.8) project(seamulator) -find_package(OpenGL REQUIRED) -find_package(GLUT REQUIRED) -include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS}) - -add_executable(seamulator seamulator.cpp - sea.cpp watersurface.cpp surfacepoint.cpp - seaview.cpp) - -target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}) +add_subdirectory(src)