Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor 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
mpim-sw
cdo
Commits
307e07a6
Commit
307e07a6
authored
3 weeks ago
by
Oliver Heidmann
Browse files
Options
Downloads
Patches
Plain Diff
added options for cmor and fftw
parent
7d036ed7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#103696
passed
3 weeks ago
Stage: build
Stage: check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-5
5 additions, 5 deletions
CMakeLists.txt
with
5 additions
and
5 deletions
CMakeLists.txt
+
5
−
5
View file @
307e07a6
...
...
@@ -67,10 +67,9 @@ endif()
### -------------- fftw3 ---------------------------
message
(
"Start check for fftw3"
)
find_package
(
FFTW3 3.0 REQUIRED
)
if
(
NOT FFTW3_LIBRARIES
)
message
(
"FFTW3 not found, skipping FFTW3"
)
else
()
option
(
CDO_FFTW
"Enable fftw3, use -FFTW_ROOT for specific path"
OFF
)
if
(
CDO_FFTW OR FFTW_ROOT
)
find_package
(
FFTW3 3.0 REQUIRED
)
if
(
TARGET FFTW3::fftw3q
)
set
(
precision_fftw
"q"
)
elseif
(
TARGET FFTW3::fftw3l
)
...
...
@@ -97,7 +96,8 @@ endif ()
### -------------- CMOR -----------------------------
message
(
"Start check for CMOR"
)
if
(
CMOR_ROOT
)
option
(
CDO_CMOR
"Enable fftw3, use -CDO_CMOR_ROOT for specific path"
OFF
)
if
(
CDO_CMOR OR CDO_CMOR_ROOT
)
message
(
"checking for CMOR requirements"
)
find_package
(
Uuid REQUIRED
)
find_package
(
json-c REQUIRED
)
...
...
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