Skip to content

Commit

Permalink
Merge branch 'latest' into fix-1679-1681
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed May 7, 2024
2 parents d0d8031 + 0bd3176 commit a0fcdb5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/CMakeLists.txt
Expand Up @@ -29,6 +29,14 @@ if(FAST_BUILD)

target_link_libraries(highs-bin highs)

if(APPLE)
set_target_properties(highs-bin PROPERTIES INSTALL_RPATH
"@loader_path/../${CMAKE_INSTALL_LIBDIR};@loader_path")
elseif (UNIX)
set_target_properties(highs-bin PROPERTIES INSTALL_RPATH
"$ORIGIN:$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
endif()

# install the binary
install(TARGETS highs-bin EXPORT highs-targets
RUNTIME)
Expand Down
5 changes: 4 additions & 1 deletion src/lp_data/HighsCallbackStruct.h
@@ -1,4 +1,3 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
Expand All @@ -20,6 +19,10 @@
extern "C" {
#endif

/**
* Struct to handle callback output data
*
*/
typedef struct {
int log_type; // cast of HighsLogType
double running_time;
Expand Down

0 comments on commit a0fcdb5

Please sign in to comment.