Open intractabilis opened 1 year ago
I am not sure pkgconfig
is the way to go, since as far as I recall it's not really well-supported/widespread in Windows environments.
In out CI, IPOPT is located without much effort even when installed in non-standard paths (e.g., from a conda environment). Could you give a bit more context/explanation about the error? E.g., were the CMAKE_INSTALL_PREFIX
and CMAKE_PREFIX_PATH
CMake variables set up properly?
Describe the bug pagmo needs manual specification of
PAGMO_IPOPT_INCLUDE_DIR
, otherwiseFindpagmo_IPOPT.cmake
fails with an error.To Reproduce Build pagmo with
PAGMO_WITH_IPOPT=ON
, create a project with the followingmeson.build
Run
meson setup build
. Meson will fail to find pagmo with the following message in the log file:Please, use pkgconf to find
PAGMO_IPOPT_INCLUDE_DIR
. Suggested change forFindpagmo_IPOPT.cmake
: