Skip to content

Commit 78d63c6

Browse files
committed
typo
1 parent 223251f commit 78d63c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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()

cmake/cpp-highs.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,17 @@ install(FILES ${PROJECT_BINARY_DIR}/highs_export.h
5050

5151
string (TOLOWER ${PROJECT_NAME} lower)
5252

53+
install(RUNTIME_DEPENDENCY_SET highs_runtime_deps
54+
DESTINATION ${CMAKE_INSTALL_BINDIR}
55+
)
56+
5357
install(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

6166
if (NOT HIGHS_COVERAGE)

0 commit comments

Comments
 (0)