Disable tutorials dependent on Umfpack if this is not found

This commit is contained in:
Roland Kaufmann
2013-02-11 12:48:31 +01:00
parent 6d1514d7ca
commit dac2b6cf81

View File

@@ -123,6 +123,11 @@ if (NOT SuiteSparse_FOUND)
${PROJECT_SOURCE_DIR}/${opm-core_DIR}/linalg/call_umfpack.c
${PROJECT_SOURCE_DIR}/${opm-core_DIR}/linalg/LinearSolverUmfpack.cpp
)
list (REMOVE_ITEM tutorial_SOURCES
${PROJECT_SOURCE_DIR}/${tutorial_DIR}/tutorial2.cpp
${PROJECT_SOURCE_DIR}/${tutorial_DIR}/tutorial3.cpp
${PROJECT_SOURCE_DIR}/${tutorial_DIR}/tutorial4.cpp
)
endif (NOT SuiteSparse_FOUND)
# these files are provided in source control, but can only compile with Matlab