X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/5baf6f709bb7943c95318e709efa907a0f3f1986..18258cd17adcc9e97a58926a9882d0e23683c59d:/CMakeLists.txt?ds=inline diff --git a/CMakeLists.txt b/CMakeLists.txt index 986edd4..64f8a81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,20 +2,6 @@ cmake_minimum_required(VERSION 2.8) project(seamulator) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules") -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}) +add_subdirectory(src)