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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
46965fe0
Commit
46965fe0
authored
12 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
COMP: missing mark_as_advanced in FindFFTW, polluting external projects
parent
0f93a86b
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
+6
-2
6 additions, 2 deletions
CMake/FindFFTW.cmake
with
6 additions
and
2 deletions
CMake/FindFFTW.cmake
+
6
−
2
View file @
46965fe0
...
...
@@ -20,6 +20,7 @@ IF(USE_FFTWD OR USE_FFTWF)
)
FIND_PATH
(
FFTW_INCLUDE_PATH fftw3.h
${
FFTW_INC_SEARCHPATH
}
)
MARK_AS_ADVANCED
(
FFTW_INCLUDE_PATH
)
IF
(
FFTW_INCLUDE_PATH
)
SET
(
FFTW_INCLUDE
${
FFTW_INCLUDE_PATH
}
)
...
...
@@ -38,10 +39,12 @@ IF(USE_FFTWD OR USE_FFTWF)
)
IF
(
USE_FFTWD
)
MARK_AS_ADVANCED
(
FFTWD_LIB
)
# OPTION(FFTWD_LIB "The full path to the fftw3 library (including the library)" )
FIND_LIBRARY
(
FFTWD_LIB fftw3
${
FFTW_LIB_SEARCHPATH
}
)
#Double Precision Lib
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
)
IF
(
FFTWD_LIB
)
SET
(
FFTWD_FOUND 1
)
...
...
@@ -52,10 +55,11 @@ IF(USE_FFTWD OR USE_FFTWF)
ENDIF
(
USE_FFTWD
)
IF
(
USE_FFTWF
)
MARK_AS_ADVANCED
(
FFTWF_LIB
)
# OPTION(FFTWF_LIB "The full path to the fftw3f library (including the library)" )
FIND_LIBRARY
(
FFTWF_LIB fftw3f
${
FFTW_LIB_SEARCHPATH
}
)
#Single Precision Lib
FIND_LIBRARY
(
FFTWF_THREADS_LIB fftw3f_threads
${
FFTW_LIB_SEARCHPATH
}
)
#Single Precision Lib only if compiled with threads support
MARK_AS_ADVANCED
(
FFTWF_LIB
)
MARK_AS_ADVANCED
(
FFTWF_THREADS_LIB
)
IF
(
FFTWF_LIB
)
SET
(
FFTWF_FOUND 1
)
...
...
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