Skip to content

Commit

Permalink
#633 putin error messge
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmar93 committed Oct 22, 2019
1 parent db94566 commit 5d929fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/replace-cmake/CMakeLists.txt
Expand Up @@ -1010,7 +1010,9 @@ IF(KLU_ENABLE)
# set(KLU_LIBRARIES ${KLU_LIBRARY} ${AMD_LIBRARY} ${COLAMD_LIBRARY} ${BTF_LIBRARY} ${SUITESPARSECONFIG_LIBRARY})

set(KLU_FOUND TRUE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/..) # use FindSuiteSparse.cmake that is in PyBaMM root
set(PYBAMM_DIR ${PROJECT_SOURCE_DIR}/..)
message(${PYBAMM_DIR})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PYBAMM_DIR}) # use FindSuiteSparse.cmake that is in PyBaMM root
find_package(SuiteSparse)
include_directories(${SuiteSparse_INCLUDE_DIRS})
set(KLU_LIBRARIES ${SuiteSparse_LIBRARIES})
Expand Down

0 comments on commit 5d929fa

Please sign in to comment.