From cb4bb28dbed61a0052a35ec774f7288ef6c17d90 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Thu, 19 Dec 2024 14:05:14 +0100 Subject: [PATCH] Also look for IPOpt headers in include/coin-or At least newer Debian installations seem to used that path. --- cmake/modules/FindIPOpt.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindIPOpt.cmake b/cmake/modules/FindIPOpt.cmake index 676bf0b..f601829 100644 --- a/cmake/modules/FindIPOpt.cmake +++ b/cmake/modules/FindIPOpt.cmake @@ -9,12 +9,12 @@ find_library(DL_LIBRARY dl) find_path(IPOPT_INCLUDE_DIR NAMES "IpNLP.hpp" PATHS ${IPOPT_ROOT} - PATH_SUFFIXES "include" "include/coin" + PATH_SUFFIXES "include" "include/coin" "include/coin-or" NO_DEFAULT_PATH ) find_path(IPOPT_INCLUDE_DIR NAMES "IpNLP.hpp" - PATH_SUFFIXES "include" "include/coin" + PATH_SUFFIXES "include" "include/coin" "include/coin-or" ) find_library(IPOPT_LIBRARY -- GitLab