Skip to content

Commit f914020

Browse files
authored
VSCode sample project Mac fixup (#3666)
Change vscode config and makefile to add a missing IOKit framework reference and use whichever MacOSX sdk symlink is available
1 parent a06f3d0 commit f914020

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/VSCode/.vscode/c_cpp_properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"PLATFORM_DESKTOP"
3333
],
3434
"macFrameworkPath": [
35-
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks"
35+
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
3636
],
3737
"compilerPath": "/usr/bin/clang",
3838
"cStandard": "c11",

projects/VSCode/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
319319
ifeq ($(PLATFORM_OS),OSX)
320320
# Libraries for OSX 10.9 desktop compiling
321321
# NOTE: Required packages: libopenal-dev libegl1-mesa-dev
322-
LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa
322+
LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa -framework IOKit
323323
endif
324324
ifeq ($(PLATFORM_OS),BSD)
325325
# Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling

0 commit comments

Comments
 (0)