X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/894b5a0d84e5e22e89c4189c5427c6493d95a8c2..6280f60567d99bd059818523fcdb0a710173b3d9:/src/CMakeLists.txt?ds=sidebyside diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 75b9bcb..f859744 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,14 +3,15 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") find_package(OpenGL REQUIRED) find_package(GLUT REQUIRED) find_package(fftw3 REQUIRED) +find_package(Boost 1.40 COMPONENTS program_options REQUIRED) include_directories(${seamulator_SOURCE_DIR}/include ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} - ${FFTW_INCLUDES}) + ${FFTW_INCLUDES} ${Boost_INCLUDE_DIR}) 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} ${Boost_LIBRARIES})