From ca537a219f452105601b806e5a35ead5262a2152 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Sat, 3 Feb 2024 00:01:49 -0800 Subject: [PATCH] Re-add libraries to macOS -- delocated wheel complains --- helics_apps-pip/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helics_apps-pip/CMakeLists.txt b/helics_apps-pip/CMakeLists.txt index b49df68..a042d88 100644 --- a/helics_apps-pip/CMakeLists.txt +++ b/helics_apps-pip/CMakeLists.txt @@ -36,9 +36,9 @@ if(DEFINED ENV{CIBUILDWHEEL} AND HELICS_DOWNLOAD_URL AND SKBUILD_STATE STREQUAL USE_SOURCE_PERMISSIONS ) endif() - # Linux needs libzmq (libhelics isn't used); previously we added lib64 to LD_LIBRARY_PATH so auditwheel can fix up the binary wheel + # Linux (and macOS?) needs libzmq (libhelics isn't used); previously we added lib64 to LD_LIBRARY_PATH so auditwheel can fix up the binary wheel # that is a bit trickier due to temporary folder skbuild/CMake uses, so instead let's include it this way... - if(LINUX) + if(LINUX OR APPLE) if(EXISTS ${helics-bin_SOURCE_DIR}/lib) install( DIRECTORY ${helics-bin_SOURCE_DIR}/lib/