File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -380,8 +380,7 @@ if (BUILD_CXX)
380380 message (STATUS "IPO / LTO is not supported at the moment when PDLP is using GPU: LTO disabled." )
381381 endif ()
382382
383- if (LINUX)
384- if (CMAKE_SIZEOF_VOID_P EQUAL 4)
383+ if (LINUX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
385384 set (CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE )
386385 message (STATUS "IPO / LTO is not supported for 32-bit linux." )
387386 endif ()
Original file line number Diff line number Diff line change @@ -50,12 +50,17 @@ install(FILES ${PROJECT_BINARY_DIR}/highs_export.h
5050
5151string (TOLOWER ${PROJECT_NAME} lower)
5252
53+ install (RUNTIME_DEPENDENCY_SET highs_runtime_deps
54+ DESTINATION ${CMAKE_INSTALL_BINDIR}
55+ )
56+
5357install (TARGETS highs
5458 EXPORT ${lower} -targets
5559 INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
5660 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
5761 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
5862 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
63+ RUNTIME_DEPENDENCY_SET highs_runtime_deps
5964 COMPONENT libs)
6065
6166if (NOT HIGHS_COVERAGE)
You can’t perform that action at this time.
0 commit comments