Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
EveryBeam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
ResearchAndDevelopment
EveryBeam
Commits
b25e0a6a
Commit
b25e0a6a
authored
4 years ago
by
Tammo Jan Dijkema
Browse files
Options
Downloads
Plain Diff
Merge branch 'FixFFTW3' into 'master'
Fix finding FFTW3 libraries Closes
#53
See merge request
!69
parents
466b6651
676ae80e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!69
Fix finding FFTW3 libraries
Pipeline
#4140
passed
4 years ago
Stage: prepare
Stage: build
Stage: oskar-comparison
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/FindFFTW3.cmake
+3
-3
3 additions, 3 deletions
CMake/FindFFTW3.cmake
with
3 additions
and
3 deletions
CMake/FindFFTW3.cmake
+
3
−
3
View file @
b25e0a6a
...
...
@@ -75,7 +75,7 @@ set(_check_list)
foreach
(
_lib
${
_libraries
}
)
string
(
TOUPPER
${
_lib
}
_LIB
)
find_library
(
${
_LIB
}
_LIBRARY
${
_lib
}
HINTS
${
FFTW3_ROOT_DIR
}
PATH_SUFFIXES lib
)
HINTS
${
FFTW3_ROOT_DIR
}
$ENV{FFTW3_ROOT_DIR}
PATH_SUFFIXES lib
)
mark_as_advanced
(
${
_LIB
}
_LIBRARY
)
list
(
APPEND FFTW3_LIBRARIES
${${
_LIB
}
_LIBRARY
}
)
list
(
APPEND _check_list
${
_LIB
}
_LIBRARY
)
...
...
@@ -83,7 +83,7 @@ endforeach(_lib ${_libraries})
# Search for the header file.
find_path
(
FFTW3_INCLUDE_DIR fftw3.h
HINTS
${
FFTW3_ROOT_DIR
}
PATH_SUFFIXES include
)
HINTS
${
FFTW3_ROOT_DIR
}
$ENV{FFTW3_ROOT_DIR}
PATH_SUFFIXES include
)
mark_as_advanced
(
FFTW3_INCLUDE_DIR
)
list
(
APPEND _check_list FFTW3_INCLUDE_DIR
)
...
...
@@ -92,4 +92,4 @@ set(FFTW3_INCLUDE_DIRS ${FFTW3_INCLUDE_DIR})
# Handle the QUIETLY and REQUIRED arguments and set FFTW_FOUND to TRUE if
# all listed variables are TRUE
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
FFTW3 DEFAULT_MSG
${
_check_list
}
)
\ No newline at end of file
find_package_handle_standard_args
(
FFTW3 DEFAULT_MSG
${
_check_list
}
)
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