Narayan Kamath | c981c48 | 2012-11-02 10:59:05 +0000 | [diff] [blame] | 1 | project(EigenDemos) |
2 | |||||
3 | add_custom_target(demos) | ||||
4 | |||||
5 | if(NOT EIGEN_TEST_NOQT) | ||||
6 | find_package(Qt4) | ||||
7 | if(QT4_FOUND) | ||||
8 | add_subdirectory(mandelbrot) | ||||
9 | add_subdirectory(opengl) | ||||
10 | else(QT4_FOUND) | ||||
11 | message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos") | ||||
12 | endif(QT4_FOUND) | ||||
13 | endif() |