From e8273803fe66434858d8fb49fffe7cd093c88a22 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Thu, 19 Dec 2024 14:04:31 +0100
Subject: [PATCH] CMake: Fix IPOpt package name

This fixes a CMake warning.
---
 cmake/modules/FindIPOpt.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/FindIPOpt.cmake b/cmake/modules/FindIPOpt.cmake
index 69842aa4..676bf0bc 100644
--- a/cmake/modules/FindIPOpt.cmake
+++ b/cmake/modules/FindIPOpt.cmake
@@ -40,7 +40,7 @@ find_library(HSL_LIBRARY
 
 find_package_handle_standard_args(hsl DEFAULT_MSG HSL_LIBRARY)
 find_package_handle_standard_args(dl DEFAULT_MSG DL_LIBRARY)
-find_package_handle_standard_args(Ipopt DEFAULT_MSG IPOPT_INCLUDE_DIR IPOPT_LIBRARY)
+find_package_handle_standard_args(IPOpt DEFAULT_MSG IPOPT_INCLUDE_DIR IPOPT_LIBRARY)
 
 if(IPOPT_FOUND)
     set(HAVE_IPOPT ENABLE_IPOPT)
-- 
GitLab