mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
12 lines
250 B
CMake
12 lines
250 B
CMake
project(EigenDemos)
|
|
|
|
add_custom_target(demos)
|
|
|
|
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)
|