Skip to content

Commit

Permalink
[pixi] Fix finding pagmo and ipopt
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jun 27, 2024
1 parent 97f66a2 commit e747106
Show file tree
Hide file tree
Showing 4 changed files with 386 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cmake/DARTFindIPOPT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

find_package(IPOPT 3.11.9 QUIET MODULE)

message(STATUS "[DEBUG] IPOPT_FOUND: ${IPOPT_FOUND}")
message(STATUS "[DEBUG] IPOPT_INCLUDE_DIRS: ${IPOPT_INCLUDE_DIRS}")
message(STATUS "[DEBUG] IPOPT_LIBRARIES: ${IPOPT_LIBRARIES}")
message(STATUS "[DEBUG] IPOPT_VERSION: ${IPOPT_VERSION}")

# HAVE_CSTDDEF is necessary to workaround this bug:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684062
if(IPOPT_FOUND AND NOT TARGET IPOPT::ipopt)
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindIPOPT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ find_path(IPOPT_INCLUDE_DIRS

# Libraries
find_library(IPOPT_LIBRARIES
NAMES ipopt
NAMES ipopt ipopt-3
HINTS ${PC_IPOPT_LIBDIR})

# Version
Expand Down
Loading

0 comments on commit e747106

Please sign in to comment.