From 8b6a184ad261a51f4d27f4f9a1ea4690e365a65e Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Thu, 31 Aug 2023 00:20:48 +0530 Subject: [PATCH] #3049 Better error message if `casadi` path is not found --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3c5141d4f..889e1c1584 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")