FindIPOPTΒΆ

Try to locate the IPOPT library

On non Windows systems, use pkg-config to try to locate the library, if this fails then try to locate the library in the directory pointed by the IPOPT_DIR environment variable.

On Windows systems, just try to find the library using the IPOPT_DIR environment variable.

Create the following variables:

IPOPT_INCLUDE_DIRS - Directories to include to use IPOPT
IPOPT_LIBRARIES    - Default library to link against to use IPOPT
IPOPT_DEFINITIONS  - Flags to be added to linker's options
IPOPT_LINK_FLAGS   - Flags to be added to linker's options
IPOPT_FOUND        - If false, don't try to use IPOPT