X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/ba8f356e863ed4a418f93c155e64eecaea0819bf..refs/heads/noise:/src/CMakeLists.txt?ds=inline diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 75990a0..fb8b077 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,6 +9,7 @@ find_package(STK REQUIRED) find_package(Boost 1.40 COMPONENTS program_options REQUIRED) find_package(ALSA REQUIRED) find_package(Threads REQUIRED) +find_package(Eigen3 3.3 REQUIRED NO_MODULE) include_directories(${seamulator_SOURCE_DIR}/include ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} @@ -19,9 +20,9 @@ add_executable(seamulator seamulator.cpp sea.cpp watersurface.cpp surfacepoint.cpp seaview.cpp synthesizer.cpp dot.cpp) -target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} +target_link_libraries(seamulator ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ${FFTW_LIBRARIES} ${Boost_LIBRARIES} - ${STK_LIBRARY} ${ALSA_LIBRARIES} ${}) + ${STK_LIBRARY} ${ALSA_LIBRARIES} Eigen3::Eigen) target_link_libraries(seamulator PRIVATE Threads::Threads)