Commit 579e3a9f authored by Guillaume Pasero's avatar Guillaume Pasero

SuperBuild: use build directory

parent b14e11e8
......@@ -24,6 +24,8 @@ SETUP_SUPERBUILD(FFTW)
set(FFTWF_SB_SRC ${CMAKE_BINARY_DIR}/FFTW/src/FFTWF)
set(FFTWD_SB_SRC ${CMAKE_BINARY_DIR}/FFTW/src/FFTWD)
set(FFTWF_SB_BUILD ${CMAKE_BINARY_DIR}/FFTW/build/FFTWF)
set(FFTWD_SB_BUILD ${CMAKE_BINARY_DIR}/FFTW/build/FFTWD)
# Compile the float version of FFTW
ExternalProject_Add(FFTWF
......@@ -31,7 +33,7 @@ ExternalProject_Add(FFTWF
URL "http://www.fftw.org/fftw-3.3.8.tar.gz"
URL_MD5 8aac833c943d8e90d51b697b27d4384d
SOURCE_DIR ${FFTWF_SB_SRC}
BINARY_DIR ${FFTWF_SB_SRC}
BINARY_DIR ${FFTWF_SB_BUILD}
INSTALL_DIR ${SB_INSTALL_PREFIX}
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CMAKE_CACHE_ARGS
......@@ -57,7 +59,7 @@ ExternalProject_Add(FFTWD
URL "http://www.fftw.org/fftw-3.3.8.tar.gz"
URL_MD5 8aac833c943d8e90d51b697b27d4384d
SOURCE_DIR ${FFTWD_SB_SRC}
BINARY_DIR ${FFTWD_SB_SRC}
BINARY_DIR ${FFTWD_SB_BUILD}
INSTALL_DIR ${SB_INSTALL_PREFIX}
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CMAKE_CACHE_ARGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment