2009-10-03 00:45:24 +08:00
|
|
|
project(EigenDemos)
|
|
|
|
|
|
2009-09-28 05:48:53 +08:00
|
|
|
add_custom_target(demos)
|
2008-12-02 20:59:10 +08:00
|
|
|
|
2009-09-28 05:48:53 +08:00
|
|
|
find_package(Qt4)
|
|
|
|
|
if(QT4_FOUND)
|
|
|
|
|
add_subdirectory(mandelbrot)
|
|
|
|
|
add_subdirectory(opengl)
|
|
|
|
|
else(QT4_FOUND)
|
|
|
|
|
message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos")
|
|
|
|
|
endif(QT4_FOUND)
|