Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dawa Derksen
otb
Commits
a65fc0a5
Commit
a65fc0a5
authored
12 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
COMP: FindFFTW did not handle the REQUIRED argument
parent
5d95d74e
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/FindFFTW.cmake
+10
-0
10 additions, 0 deletions
CMake/FindFFTW.cmake
with
10 additions
and
0 deletions
CMake/FindFFTW.cmake
+
10
−
0
View file @
a65fc0a5
...
...
@@ -45,6 +45,11 @@ IF(USE_FFTWD OR USE_FFTWF)
FIND_LIBRARY
(
FFTWD_THREADS_LIB fftw3_threads
${
FFTW_LIB_SEARCHPATH
}
)
#Double Precision Lib only if compiled with threads support
MARK_AS_ADVANCED
(
FFTWD_LIB
)
MARK_AS_ADVANCED
(
FFTWD_THREADS_LIB
)
# handle the QUIETLY and REQUIRED arguments and set FFTWD_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE
(
FindPackageHandleStandardArgs
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
FFTW DEFAULT_MSG FFTWD_LIB FFTW_INCLUDE_PATH
)
IF
(
FFTWD_LIB
)
SET
(
FFTWD_FOUND 1
)
...
...
@@ -61,6 +66,11 @@ IF(USE_FFTWD OR USE_FFTWF)
MARK_AS_ADVANCED
(
FFTWF_LIB
)
MARK_AS_ADVANCED
(
FFTWF_THREADS_LIB
)
# handle the QUIETLY and REQUIRED arguments and set FFTWD_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE
(
FindPackageHandleStandardArgs
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
FFTW DEFAULT_MSG FFTWF_LIB FFTW_INCLUDE_PATH
)
IF
(
FFTWF_LIB
)
SET
(
FFTWF_FOUND 1
)
IF
(
FFTWF_THREADS_LIB
)
...
...
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