Commit a1d74a88 authored by Kilian Lackhove's avatar Kilian Lackhove

Replace "INCLUDE_DIRECTORIES()" in Nektar++Config.cmake with ${Nektar++_INCLUDE_DIRS}.

Nektar++Config.cmake should only set variables which can be used in the calling
CMakeLists.txt.
parent 5136133b
......@@ -136,11 +136,11 @@ MARK_AS_ADVANCED(NEKTAR_DEBUG_LIBRARIES)
MARK_AS_ADVANCED(NEKTAR_RELEASE_WITH_DEBUG_INFO_LIBRARIES)
IF(NEKTAR_USE_FFTW)
INCLUDE_DIRECTORIES(${FFTW_INCLUDE_DIR})
SET(NEKTAR++_INCLUDE_DIRS ${NEKTAR++_INCLUDE_DIRS} ${FFTW_INCLUDE_DIR})
ENDIF(NEKTAR_USE_FFTW)
IF(NEKTAR_USE_ARPACK)
INCLUDE_DIRECTORIES(${ARPACK_INCLUDE_DIR})
SET(NEKTAR++_INCLUDE_DIRS ${NEKTAR++_INCLUDE_DIRS} ${ARPACK_INCLUDE_DIR})
ENDIF(NEKTAR_USE_ARPACK)
INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIR})
......
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