Skip to content

Commit

Permalink
Fixed being unable to compile on OSX with CASADI disabled (#3206)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley authored May 21, 2022
1 parent d2b0c42 commit 06d0d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ install(FILES OpenSimMacros.cmake

install(EXPORT OpenSimTargets DESTINATION "${OPENSIM_INSTALL_CMAKEDIR}")

if(OPENSIM_COPY_DEPENDENCIES AND APPLE)
if(APPLE AND OPENSIM_COPY_DEPENDENCIES AND (NOT (DEFINED OPENSIM_WITH_CASADI AND NOT ${OPENSIM_WITH_CASADI})))
# Temporary hack to package dependencies on Macs.
# TODO if we're building a standalone binary distribution, we should
# use superbuild to build the dependencies.
Expand Down

0 comments on commit 06d0d97

Please sign in to comment.