Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Fixed issue with finding KLU library
Browse files Browse the repository at this point in the history
  • Loading branch information
qichenghua authored and OpenModelica-Hudson committed Mar 3, 2017
1 parent 9d93410 commit d130cee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions SimulationRuntime/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -582,15 +582,16 @@ IF(USE_KLU)
# SET(KLU_INLCUDE_HOME ${Klu_Path}/include/omc/c/suitesparse/Include)
# SET(KLU_LIBRARY_RELEASE_HOME ${Klu_Path}/lib/omc)
ELSE(MSVC)
SET(Klu_Path ${CMAKE_SOURCE_DIR}/../../../build/include/omc/c/suitesparse/Include) #"${CMAKE_SOURCE_DIR}/../../3rdParty/SuiteSparse")
SET(Klu_Path "${CMAKE_SOURCE_DIR}/../../3rdParty/SuiteSparse")
#SET(Klu_Path ${CMAKE_SOURCE_DIR}/../../../build/include/omc/c/suitesparse/Include) #"${CMAKE_SOURCE_DIR}/../../3rdParty/SuiteSparse")
ENDIF(MSVC)

IF(MSVC)
SET(KLU_INLCUDE_HOME ${Klu_Path}/include/omc/c/suitesparse/Include) #${Klu_Path}/KLU/Include)
SET(KLU_LIBRARY_RELEASE_HOME ${Klu_Path}/lib/omc) #${Klu_Path}/build)
ELSE(MSVC)
SET(KLU_INLCUDE_HOME ${Klu_Path}) #${Klu_Path}/KLU/Include)
SET(KLU_LIBRARY_RELEASE_HOME ${Klu_Path}) #${Klu_Path}/build)
SET(KLU_INLCUDE_HOME ${Klu_Path}/Include) #${Klu_Path}/KLU/Include)
SET(KLU_LIBRARY_RELEASE_HOME ${Klu_Path}/build) #${Klu_Path}/build)
ENDIF(MSVC)

MESSAGE(STATUS "Klu include:")
Expand Down

0 comments on commit d130cee

Please sign in to comment.