Skip to content

Commit

Permalink
pybamm-team#3049 Better error message if casadi path is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Aug 30, 2023
1 parent 66e9302 commit 8b6a184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ execute_process(

if (CASADI_DIR)
file(TO_CMAKE_PATH ${CASADI_DIR} CASADI_DIR)
message("Found python casadi path: ${CASADI_DIR}")
endif()
message("Found python casadi path: ${CASADI_DIR}")
message("Could not find python casadi path")

if(${USE_PYTHON_CASADI})
message("Trying to link against python casadi package")
Expand Down

0 comments on commit 8b6a184

Please sign in to comment.