Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs-feliks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Feliks Kiszkurno
ogs-feliks
Commits
d811a324
Commit
d811a324
authored
6 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] Use newer Python find module.
parent
d72518dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
scripts/cmake/Coverage.cmake
+1
-1
1 addition, 1 deletion
scripts/cmake/Coverage.cmake
scripts/cmake/Find.cmake
+1
-1
1 addition, 1 deletion
scripts/cmake/Find.cmake
with
5 additions
and
2 deletions
CMakeLists.txt
+
3
−
0
View file @
d811a324
...
...
@@ -235,6 +235,9 @@ option(OGS_ENABLE_ELEMENT_PYRAMID "Build FEM elements for pyramids." ON)
option
(
OGS_CHECK_HEADER_COMPILATION
"Check header for standalone compilation."
OFF
)
option
(
OGS_USE_PYTHON
"Interface with Python"
OFF
)
if
(
OGS_USE_PYTHON AND NOT Python_FOUND
)
message
(
FATAL_ERROR
"Python not found but required for OGS_USE_PYTHON=ON!"
)
endif
()
option
(
OGS_USE_MFRONT
"Enable solid material models by MFront (https://tfel.sourceforge.net)"
OFF
)
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/Coverage.cmake
+
1
−
1
View file @
d811a324
...
...
@@ -22,7 +22,7 @@ else()
message
(
STATUS
"No lcov coverage report generated because lcov or genhtml was not found."
)
endif
()
if
(
P
YTHON
_EXECUTABLE
)
if
(
P
ython
_EXECUTABLE
)
setup_target_for_coverage_gcovr_xml
(
NAME testrunner_coverage_cobertura
EXECUTABLE
${
CMAKE_COMMAND
}
--build . --target tests
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/Find.cmake
+
1
−
1
View file @
d811a324
...
...
@@ -9,7 +9,7 @@ find_program(GPROF_PATH gprof DOC "GNU profiler gprof" QUIET)
find_program
(
CPPCHECK_TOOL_PATH cppcheck
)
find_package
(
Python
Interp QUIET
)
find_package
(
Python
COMPONENTS Interpreter Development
)
# Find bash itself ...
find_program
(
BASH_TOOL_PATH bash
...
...
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