mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed annoying CMake - Qt warning.
This commit is contained in:
@@ -2,10 +2,12 @@ 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)
|
||||
if(NOT EIGEN_TEST_NOQT)
|
||||
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)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user