Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [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) |
Austin Schuh | c55b017 | 2022-02-20 17:52:35 -0800 | [diff] [blame^] | 10 | else() |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 11 | message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos") |
Austin Schuh | c55b017 | 2022-02-20 17:52:35 -0800 | [diff] [blame^] | 12 | endif() |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 13 | endif() |