eigen/demos/CMakeLists.txt
Hans Johnson 6fb3e5f176 STYLE: Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the block.
This is no longer the preferred style.
2019-10-31 11:36:27 -05:00

14 lines
278 B
CMake

project(EigenDemos)
add_custom_target(demos)
if(NOT EIGEN_TEST_NOQT)
find_package(Qt4)
if(QT4_FOUND)
add_subdirectory(mandelbrot)
add_subdirectory(opengl)
else()
message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos")
endif()
endif()