1project(EigenDemos) 2 3add_custom_target(demos) 4 5if(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) 13endif() 14