Commit f5619836 authored by Chris Cantwell's avatar Chris Cantwell

Added dummy targets for ThirdParty libraries.

parent bbbc7cac
......@@ -27,6 +27,7 @@ IF( NEKTAR_USE_FFTW )
INCLUDE_DIRECTORIES(${TPDIST}/include)
MESSAGE(STATUS "Build FFTW: ${TPDIST}/lib/lib${FFTW_LIB}.so")
ELSE ()
ADD_CUSTOM_TARGET(fftw-3.2.2 ALL)
INCLUDE (FindFFTW)
INCLUDE_DIRECTORIES(${FFTW_INCLUDE_DIR})
ENDIF()
......
......@@ -55,6 +55,7 @@ IF( NEKTAR_USE_MPI )
MESSAGE(STATUS "Build GSMPI: ${TPDIST}/lib/lib${GSMPI_LIBRARY}.a")
MESSAGE(STATUS "Build XXT: ${TPDIST}/lib/lib${XXT_LIBRARY}.a")
ELSE (THIRDPARTY_BUILD_GSMPI)
ADD_CUSTOM_TARGET(gsmpi-1.2 ALL)
INCLUDE (FindGSMPI)
INCLUDE (FindXXT)
ENDIF (THIRDPARTY_BUILD_GSMPI)
......
......@@ -62,6 +62,7 @@ IF( NEKTAR_USE_SCOTCH )
INCLUDE_DIRECTORIES(${TPSRC}/dist/include)
MESSAGE(STATUS "Build Scotch: ${TPSRC}/dist/lib/lib${SCOTCH_LIB}.a")
ELSE (THIRDPARTY_BUILD_SCOTCH)
ADD_CUSTOM_TARGET(scotch-6.0.0 ALL)
INCLUDE (FindScotch)
ENDIF (THIRDPARTY_BUILD_SCOTCH)
ENDIF( NEKTAR_USE_SCOTCH )
......@@ -357,6 +357,7 @@ ADD_DEPENDENCIES(LibUtilities modmetis-5.1.0 boost tinyxml-2.4.3 zlib-1.2.7)
IF( NEKTAR_USE_SCOTCH )
TARGET_LINK_LIBRARIES(LibUtilities LINK_PRIVATE
${SCOTCH_LIB} ${SCOTCHERR_LIB})
ADD_DEPENDENCIES(LibUtilities scotch-6.0.0)
ENDIF ()
# Metis
......@@ -365,6 +366,7 @@ TARGET_LINK_LIBRARIES(LibUtilities LINK_PRIVATE ${METIS_LIB})
# FFTW
IF( NEKTAR_USE_FFTW )
TARGET_LINK_LIBRARIES(LibUtilities LINK_PUBLIC ${FFTW_LIB})
ADD_DEPENDENCIES(LibUtilities fftw-3.2.2)
ENDIF( NEKTAR_USE_FFTW )
# ARPACK
......@@ -399,6 +401,7 @@ IF( NEKTAR_USE_MPI )
SET_TARGET_PROPERTIES(LibUtilities
PROPERTIES COMPILE_FLAGS "${THE_COMPILE_FLAGS} ${MPI_COMPILE_FLAGS}")
ENDIF()
ADD_DEPENDENCIES(LibUtilities gsmpi-1.2)
ENDIF( NEKTAR_USE_MPI )
# Lapack and Blas
......
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