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
5e01dbcb
Commit
5e01dbcb
authored
11 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Use <PACKAGE>_ROOT for specifying location of a package.
[[Imported from SVN: r7461]]
parent
62e985c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/FindGMP.cmake
+4
-4
4 additions, 4 deletions
cmake/modules/FindGMP.cmake
with
4 additions
and
4 deletions
cmake/modules/FindGMP.cmake
+
4
−
4
View file @
5e01dbcb
...
...
@@ -2,7 +2,7 @@
# dirs and
#
# Variables used by this module which you may want to set:
# GMP_
PREFIX
Path list to search for GMP
# GMP_
ROOT
Path list to search for GMP
#
# Sets the following variables:
# GMP_FOUND True if the GMP library was found.
...
...
@@ -28,7 +28,7 @@ endfunction(add_dune_gmp_flags)
# search for location of header gmpxx.h", only at positions given by the user
find_path
(
GMP_INCLUDE_DIR
NAMES
"gmpxx.h"
PATHS
${
GMP_PREFIX
}
PATHS
${
GMP_PREFIX
}
${
GMP_ROOT
}
PATH_SUFFIXES include
NO_DEFAULT_PATH
)
# try default paths now
...
...
@@ -44,7 +44,7 @@ check_include_file_cxx("gmpxx.h" GMP_FOUND)
# look for library gmp, only at positions given by the user
find_library
(
GMP_LIB gmp
PATHS
${
GMP_PREFIX
}
PATHS
${
GMP_PREFIX
}
${
GMP_ROOT
}
PATH_SUFFIXES lib lib64
NO_DEFAULT_PATH
DOC
"GNU GMP library"
)
...
...
@@ -53,7 +53,7 @@ find_library(GMP_LIB gmp)
# look for library gmpxx, only at positions given by the user
find_library
(
GMPXX_LIB gmpxx
PATHS
${
GMP_PREFIX
}
PATHS
${
GMP_PREFIX
}
${
GMP_ROOT
}
PATH_SUFFIXES lib lib64
NO_DEFAULT_PATH
DOC
"GNU GMPXX library"
)
...
...
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