Skip to content

Commit 6a4c6ec

Browse files
committed
Fix cmake to install ipopt and deps on unix
1 parent fcdbeac commit 6a4c6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ if (OPENSIM_WITH_CASADI)
859859
${libgcc_name}
860860
DESTINATION ${CMAKE_INSTALL_LIBDIR})
861861

862-
elseif(OPENSIM_COPY_DEPENDENCIES AND LINUX)
862+
elseif(OPENSIM_COPY_DEPENDENCIES)
863863
get_filename_component(gcc_libdir "${pkgcfg_lib_IPOPT_gfortran}" DIRECTORY)
864864

865865
file(GLOB gfortran "${gcc_libdir}/../../../x86_64-linux-gnu/libgfortran*.so*")

0 commit comments

Comments
 (0)