Skip to content

Commit

Permalink
add new brew directories to xcodeproj
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Jan 14, 2025
1 parent 7b62f6a commit 346ce7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/mac/fix-xcode-proj.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh -v

sed -E -i '' -e 's| "?/Library/Frameworks/([a-zA-Z-]+)\.framework"?| "/usr/local/Frameworks/\1.framework"|' -e 's|/opt/local/libexec/boost/[0-9.]+/lib/|/usr/local/lib/|' proj/xc12/BoE.xcodeproj/project.pbxproj
sed -E -i '' -e 's| "?/Library/Frameworks/([a-zA-Z-]+)\.framework"?| "/usr/local/Frameworks/\1.framework"|' -e 's|/opt/local/libexec/boost/[0-9.]+/lib/|/usr/local/opt/boost@1.85/lib/|' proj/xc12/BoE.xcodeproj/project.pbxproj
4 changes: 4 additions & 0 deletions proj/xc12/BoE.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2354,6 +2354,7 @@
/usr/local/include,
/opt/local/include,
/usr/local/Cellar/include,
"/usr/local/opt/boost@1.85/include",
"$(PROJECT_DIR)/../../deps/cppcodec",
"$(PROJECT_DIR)/../../deps/Catch2/single_include/catch2",
"$(PROJECT_DIR)/../../src/fileio/gzstream",
Expand All @@ -2365,6 +2366,7 @@
LIBRARY_SEARCH_PATHS = (
"\"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/\"",
/usr/local/lib,
"/usr/local/opt/boost@1.85/lib",
/opt/local/lib,
);
LINK_WITH_STANDARD_LIBRARIES = YES;
Expand Down Expand Up @@ -2474,11 +2476,13 @@
"$(PROJECT_DIR)/../../src/fileio/xml-parser",
"$(PROJECT_DIR)/../../src/tools",
"$(PROJECT_DIR)/../../deps/Catch2/include/external",
"/usr/local/opt/boost@1.85/include",
);
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
LIBRARY_SEARCH_PATHS = (
"\"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lib/\"",
/usr/local/lib,
"/usr/local/opt/boost@1.85/lib",
/opt/local/lib,
);
LINK_WITH_STANDARD_LIBRARIES = YES;
Expand Down

0 comments on commit 346ce7e

Please sign in to comment.