Skip to content

Commit

Permalink
Qt6: CI macos-bundle: copy libboost_system
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinero committed Feb 8, 2025
1 parent 656d55f commit 15694ad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cmake/Deploy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ if(APPLE OR (WIN32 AND NOT STATIC))
)
endif()

# libbost_chrono-mt.dylib has a dependency on libboost_system-mt.dylib, maydeployqt does not copy it by itself
find_package(Boost COMPONENTS system)
get_target_property(BOOST_SYSTEM_LIB_PATH Boost::system LOCATION)
if(EXISTS ${BOOST_SYSTEM_LIB_PATH})
add_custom_command(TARGET deploy
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy "${BOOST_SYSTEM_LIB_PATH}" "$<TARGET_FILE_DIR:monero-wallet-gui>/../Frameworks/"
COMMENT "Copying libboost_system-mt.dylib"
)
endif()

# Apple Silicon requires all binaries to be codesigned
find_program(CODESIGN_EXECUTABLE NAMES codesign)
if(CODESIGN_EXECUTABLE)
Expand Down

0 comments on commit 15694ad

Please sign in to comment.