Skip to content

Commit e0acf97

Browse files
committed
manually copying libgcc
1 parent 9122e13 commit e0acf97

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

build_scripts/macOS/internal/2a_appbundle.sh

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ fi
3636
message=$(${QT_BASE_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
3737
$ARGUMENTS 2>&1)
3838

39+
cp /opt/homebrew/opt/gcc/lib/gcc/11/libgcc_s.1.1.dylib $INSTALL_PATH/$APPNAME/Contents/Framework
3940

4041
# if message contains "ERROR" then macdeployqt failed
4142
if [[ $message == *"ERROR"* ]]; then

relightlab/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ target_compile_definitions(relightlab
203203
RELIGHT_VERSION=${RELIGHT_VERSION})
204204

205205
if (APPLE)
206-
include(BundleUtilities)
207-
fixup_bundle("${CMAKE_CURRENT_BINARY_DIR}/relightlab.app/Contents/MacOS/relightlab" TRUE)
208206

209207
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/../build_scripts/relightlab.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
210208
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../build_scripts/relightlab.icns DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/relightlab.app/Contents/Resources/")

0 commit comments

Comments
 (0)