From b8a99d200d016340e098334bfeb8b9c430d39645 Mon Sep 17 00:00:00 2001 From: Chadwick Boulay Date: Mon, 16 May 2022 01:00:59 -0400 Subject: [PATCH] Only run extra fixup_bundle if not GITHUB_ACTIONS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ea94b8..7580a8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ endif() set(CPACK_DEBIAN_LABRECORDER_PACKAGE_SECTION "science" CACHE INTERNAL "") LSLGenerateCPackConfig() -if(APPLE) +if(APPLE AND NOT DEFINED ENV{GITHUB_ACTIONS}) # Qt6 QtNetwork depends on libbrotidec which depends on libbroticommon but whose search path uses @loader_path. Unfortunately, macdeployqt # does not seem to traverse @loader_path dependencies. So we are forced to call `fixup_bundle`. For now, we only do this if homebrew is present # because that seems to be where the bad dependency is coming from.