Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Timo Koch
dune-common
Commits
798bf42b
Commit
798bf42b
authored
9 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[CMake,SuiteSparse] Add special case for SPQR header
parent
7aadda85
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/FindSuiteSparse.cmake
+13
-0
13 additions, 0 deletions
cmake/modules/FindSuiteSparse.cmake
with
13 additions
and
0 deletions
cmake/modules/FindSuiteSparse.cmake
+
13
−
0
View file @
798bf42b
...
...
@@ -111,6 +111,19 @@ foreach(_component ${SUITESPARSE_COMPONENTS})
)
endforeach
()
# SPQR has different header file name SuiteSparseQR.hpp
#look for header files at positions given by the user
find_path
(
SPQR_INCLUDE_DIR
NAMES
"SuiteSparseQR_C.hpp"
PATHS
${
SuiteSparse_ROOT
}
PATH_SUFFIXES
"spqr"
"include/spqr"
"suitesparse"
"include"
"src"
"SPQR"
"SPQR/Include"
NO_DEFAULT_PATH
)
#now also look for default paths
find_path
(
SPQR_INCLUDE_DIR
NAMES
"SuiteSparseQR.hpp"
PATH_SUFFIXES
"spqr"
"include/spqr"
"suitesparse"
"include"
"SPQR"
"SPQR/Include"
)
# resolve inter-modular dependencies
...
...
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