Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eigen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
Eigen
Commits
d6791e8f
Commit
d6791e8f
authored
15 years ago
by
Hauke Heibel
Browse files
Options
Downloads
Patches
Plain Diff
Fixed annoying CMake - Qt warning.
parent
5a52f283
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demos/CMakeLists.txt
+9
-7
9 additions, 7 deletions
demos/CMakeLists.txt
test/CMakeLists.txt
+4
-3
4 additions, 3 deletions
test/CMakeLists.txt
with
13 additions
and
10 deletions
demos/CMakeLists.txt
+
9
−
7
View file @
d6791e8f
...
...
@@ -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
()
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
4
−
3
View file @
d6791e8f
...
...
@@ -19,14 +19,15 @@ endif(GSL_FOUND)
option
(
EIGEN_TEST_NOQT
"Disable Qt support in unit tests"
OFF
)
if
(
NOT EIGEN_TEST_NOQT
)
message
(
"----------------> find qt"
)
find_package
(
Qt4
)
endif
(
NOT EIGEN_TEST_NOQT
)
if
(
QT4_FOUND
)
if
(
EIGEN_TEST_NOQT AND
QT4_FOUND
)
include
(
${
QT_USE_FILE
}
)
ei_add_property
(
EIGEN_TESTED_BACKENDS
"Qt4 support, "
)
else
(
QT4_FOUND
)
else
()
ei_add_property
(
EIGEN_MISSING_BACKENDS
"Qt4 support, "
)
endif
(
QT4_FOUND
)
endif
()
if
(
TEST_LIB
)
add_definitions
(
"-DEIGEN_EXTERN_INSTANTIATIONS=1"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment