File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -862,20 +862,20 @@ if(UNIX)
862862endif ()
863863
864864if (OPENSIM_WITH_CASADI OR OPENSIM_WITH_TROPTER)
865- if (UNIX )
866- pkg_check_modules(IPOPT REQUIRED ipopt IMPORTED_TARGET)
867- else ()
868- find_package (Ipopt REQUIRED CONFIG)
869- set_package_properties(IPOPT PROPERTIES
870- URL https://projects.coin-or .org/Ipopt
871- TYPE REQUIRED
872- PURPOSE "Nonlinear optimization" )
873- # Flags to use when building a shared library.
874- # TODO move these flags to a specific target.
875- # TODO set(CMAKE_SHARED_LINKER_FLAGS
876- # TODO "${CMAKE_SHARED_LINKER_FLAGS} ${IPOPT_LINK_FLAGS}")
877- OpenSimCopyDependencyDLLsForWin(DEP_NAME IPOPT DEP_BIN_DIR "${Ipopt_ROOT_DIR} /bin" )
878- endif ()
865+ if (UNIX )
866+ pkg_check_modules(IPOPT REQUIRED ipopt IMPORTED_TARGET)
867+ else ()
868+ find_package (Ipopt REQUIRED CONFIG)
869+ set_package_properties(IPOPT PROPERTIES
870+ URL https://projects.coin-or .org/Ipopt
871+ TYPE REQUIRED
872+ PURPOSE "Nonlinear optimization" )
873+ # Flags to use when building a shared library.
874+ # TODO move these flags to a specific target.
875+ # TODO set(CMAKE_SHARED_LINKER_FLAGS
876+ # TODO "${CMAKE_SHARED_LINKER_FLAGS} ${IPOPT_LINK_FLAGS}")
877+ OpenSimCopyDependencyDLLsForWin(DEP_NAME IPOPT DEP_BIN_DIR "${Ipopt_ROOT_DIR} /bin" )
878+ endif ()
879879endif ()
880880
881881# Installing dependencies into OpenSim's installation.
You can’t perform that action at this time.
0 commit comments