Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
d904d94a
Commit
d904d94a
authored
Jul 07, 2014
by
Pilar Cossio
Browse files
FindFFTW works interactive
parent
2a32a106
Changes
1
Hide whitespace changes
Inline
Side-by-side
FindFFTW.cmake
View file @
d904d94a
...
...
@@ -11,8 +11,8 @@ endif()
find_path
(
FFTW_INCLUDE_DIR
"fftw3.h"
HINTS
${
FFTW_HOME
}
/include
)
find_library
(
FFTW_LIBRARY
"fftw3"
HINTS
${
FFTW_HOME
}
/lib
)
find_library
(
FFTW_LIBRARY_MT
"fftw3_omp"
HINTS
${
FFTW_HOME
}
/lib
)
#
find_library(FFTW_LIBRARY "fftw3f" HINTS ${FFTW_HOME}/lib )
#
find_library(FFTW_LIBRARY_MT "fftw3_omp" HINTS ${FFTW_HOME}/lib )
find_library
(
FFTW_LIBRARY
_F
"fftw3f"
HINTS
${
FFTW_HOME
}
/lib
)
if
(
NOT FFTW_LIBRARY OR NOT FFTW_INCLUDE_DIR
)
if
(
NOT FFTW_HOME
)
...
...
@@ -21,7 +21,8 @@ if(NOT FFTW_LIBRARY OR NOT FFTW_INCLUDE_DIR)
endif
()
# set default find_package outcome variables
set
(
FFTW_LIBRARIES
${
FFTW_LIBRARY
}
${
FFTW_LIBRARY_
MT
}
)
set
(
FFTW
F
_LIBRARIES
${
FFTW_LIBRARY
}
${
FFTW_LIBRARY_
F
}
)
set
(
FFTW_INCLUDE_DIRS
${
FFTW_INCLUDE_DIR
}
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"GNU"
)
set
(
FFTWF_LIBRARIES
${
FFTWF_LIBRARIES
}
-L/afs/@cell/common/soft/intel/ics2013/14.0/compiler/lib/intel64/ -lirc -limf
)
endif
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment