Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
b04ecc4c
Commit
b04ecc4c
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
a124f582
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+23
-25
23 additions, 25 deletions
CMakeLists.txt
with
23 additions
and
25 deletions
CMakeLists.txt
+
23
−
25
View file @
b04ecc4c
...
@@ -529,17 +529,15 @@ endif(ENABLE_OPTHOM)
...
@@ -529,17 +529,15 @@ endif(ENABLE_OPTHOM)
if
(
ENABLE_KBIPACK
)
if
(
ENABLE_KBIPACK
)
find_library
(
GMP_LIB gmp
)
find_library
(
GMP_LIB gmp
)
if
(
GMP_LIB
)
find_path
(
GMP_INC
"gmp.h"
PATH_SUFFIXES src include
)
find_path
(
GMP_INC
"gmp.h"
PATH_SUFFIXES src include
)
if
(
GMP_LIB AND GMP_INC
)
if
(
GMP_INC
)
set_config_option
(
HAVE_GMP
"GMP"
)
set_config_option
(
HAVE_GMP
"GMP"
)
list
(
APPEND EXTERNAL_LIBRARIES
${
GMP_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
GMP_LIB
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
GMP_INC
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
GMP_INC
}
)
add_subdirectory
(
contrib/kbipack
)
add_subdirectory
(
contrib/kbipack
)
include_directories
(
contrib/kbipack
)
include_directories
(
contrib/kbipack
)
set_config_option
(
HAVE_KBIPACK
"Kbipack"
)
set_config_option
(
HAVE_KBIPACK
"Kbipack"
)
endif
(
GMP_LIB AND GMP_INC
)
endif
(
GMP_INC
)
endif
(
GMP_LIB
)
endif
(
ENABLE_KBIPACK
)
endif
(
ENABLE_KBIPACK
)
if
(
ENABLE_MATHEX
)
if
(
ENABLE_MATHEX
)
...
@@ -560,18 +558,19 @@ if(ENABLE_MPI)
...
@@ -560,18 +558,19 @@ if(ENABLE_MPI)
endif
(
ENABLE_MPI
)
endif
(
ENABLE_MPI
)
if
(
ENABLE_POPPLER
)
if
(
ENABLE_POPPLER
)
find_library
(
POPPLER_LIB poppler
)
find_library
(
POPPLER_LIB poppler
)
find_library
(
POPPLER_CPP_LIB poppler-cpp
)
find_library
(
POPPLER_CPP_LIB poppler-cpp
)
if
(
POPPLER_LIB
)
if
(
POPPLER_LIB
)
set_config_option
(
HAVE_POPPLER
"Poppler"
)
set_config_option
(
HAVE_POPPLER
"Poppler"
)
list
(
APPEND EXTERNAL_LIBRARIES
${
POPPLER_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
POPPLER_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
POPPLER_CPP_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
POPPLER_CPP_LIB
}
)
endif
(
POPPLER_LIB
)
endif
(
POPPLER_LIB
)
endif
(
ENABLE_POPPLER
)
endif
(
ENABLE_POPPLER
)
if
(
HAVE_MESH OR HAVE_SOLVER
)
if
(
HAVE_MESH OR HAVE_SOLVER
)
if
(
ENABLE_METIS
)
if
(
ENABLE_METIS
)
# Gmsh currently uses Metis 4 - we should switch to Metis 5 and use the
# system lib if available
add_subdirectory
(
contrib/Metis
)
add_subdirectory
(
contrib/Metis
)
include_directories
(
contrib/Metis
)
include_directories
(
contrib/Metis
)
set_config_option
(
HAVE_METIS
"Metis"
)
set_config_option
(
HAVE_METIS
"Metis"
)
...
@@ -680,11 +679,11 @@ if(ENABLE_MED OR ENABLE_CGNS)
...
@@ -680,11 +679,11 @@ if(ENABLE_MED OR ENABLE_CGNS)
if
(
ENABLE_CGNS
)
if
(
ENABLE_CGNS
)
find_library
(
CGNS_LIB cgns PATHS ENV CGNS_ROOT PATH_SUFFIXES lib
)
find_library
(
CGNS_LIB cgns PATHS ENV CGNS_ROOT PATH_SUFFIXES lib
)
find_path
(
CGNS_INC
"cgnslib.h"
PATHS ENV CGNS_ROOT PATH_SUFFIXES include
)
find_path
(
CGNS_INC
"cgnslib.h"
PATHS ENV CGNS_ROOT PATH_SUFFIXES include
)
if
(
CGNS_LIB
)
if
(
CGNS_LIB
AND CGNS_INC
)
set_config_option
(
HAVE_LIBCGNS
"Cgns"
)
set_config_option
(
HAVE_LIBCGNS
"Cgns"
)
list
(
APPEND EXTERNAL_LIBRARIES
${
CGNS_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
CGNS_LIB
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
CGNS_INC
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
CGNS_INC
}
)
endif
(
CGNS_LIB
)
endif
(
CGNS_LIB
AND CGNS_INC
)
endif
(
ENABLE_CGNS
)
endif
(
ENABLE_CGNS
)
if
(
MED_LIB OR CGNS_LIB
)
if
(
MED_LIB OR CGNS_LIB
)
list
(
APPEND EXTERNAL_LIBRARIES
${
HDF5_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
HDF5_LIB
}
)
...
@@ -718,19 +717,18 @@ if(HAVE_SOLVER)
...
@@ -718,19 +717,18 @@ if(HAVE_SOLVER)
endif
(
ENABLE_GMM
)
endif
(
ENABLE_GMM
)
if
(
ENABLE_TAUCS
)
if
(
ENABLE_TAUCS
)
if
(
NOT HAVE_METIS
)
if
(
HAVE_METIS
)
message
(
SEND_ERROR
"You have to enable METIS in order to use TAUCS"
)
find_library
(
TAUCS_LIB taucs PATH_SUFFIXES lib
)
endif
(
NOT HAVE_METIS
)
find_library
(
TAUCS_LIB taucs PATH_SUFFIXES lib
)
if
(
TAUCS_LIB
)
find_path
(
TAUCS_INC
"taucs.h"
PATH_SUFFIXES src include taucs
)
find_path
(
TAUCS_INC
"taucs.h"
PATH_SUFFIXES src include taucs
)
if
(
TAUCS_INC
)
if
(
TAUCS_LIB AND
TAUCS_INC
)
set_config_option
(
HAVE_TAUCS
"Taucs"
)
set_config_option
(
HAVE_TAUCS
"Taucs"
)
add_definitions
(
-DTAUCS_CILK
)
add_definitions
(
-DTAUCS_CILK
)
list
(
APPEND EXTERNAL_LIBRARIES
${
TAUCS_LIB
}
)
list
(
APPEND EXTERNAL_LIBRARIES
${
TAUCS_LIB
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
TAUCS_INC
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
TAUCS_INC
}
)
endif
(
TAUCS_INC
)
endif
(
TAUCS_LIB AND TAUCS_INC
)
endif
(
TAUCS_LIB
)
else
(
HAVE_METIS
)
message
(
STATUS
"Warning: Disabling Taucs (requires METIS)"
)
endif
(
HAVE_METIS
)
endif
(
ENABLE_TAUCS
)
endif
(
ENABLE_TAUCS
)
if
(
ENABLE_PETSC
)
if
(
ENABLE_PETSC
)
...
...
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