diff options
| author | Tim Romero <[email protected]> | 2023-12-23 02:22:16 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-23 11:22:16 +0100 |
| commit | f914020d45f6e44b2de4e6ba6af8e5b60fe42731 (patch) | |
| tree | 0a4a2d4670e9ebe99550faf1fcb403f33644e639 /projects/VSCode | |
| parent | a06f3d0e34fbba8fd4a49bb53ea1bdf7e3d2a011 (diff) | |
| download | raylib-f914020d45f6e44b2de4e6ba6af8e5b60fe42731.tar.gz raylib-f914020d45f6e44b2de4e6ba6af8e5b60fe42731.zip | |
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
Diffstat (limited to 'projects/VSCode')
| -rw-r--r-- | projects/VSCode/.vscode/c_cpp_properties.json | 2 | ||||
| -rw-r--r-- | projects/VSCode/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/VSCode/.vscode/c_cpp_properties.json b/projects/VSCode/.vscode/c_cpp_properties.json index cbdb5194..dd0a2932 100644 --- a/projects/VSCode/.vscode/c_cpp_properties.json +++ b/projects/VSCode/.vscode/c_cpp_properties.json @@ -32,7 +32,7 @@ "PLATFORM_DESKTOP" ], "macFrameworkPath": [ - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks" + "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" ], "compilerPath": "/usr/bin/clang", "cStandard": "c11", diff --git a/projects/VSCode/Makefile b/projects/VSCode/Makefile index a2a26f09..25e00c0b 100644 --- a/projects/VSCode/Makefile +++ b/projects/VSCode/Makefile @@ -319,7 +319,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),OSX) # Libraries for OSX 10.9 desktop compiling # NOTE: Required packages: libopenal-dev libegl1-mesa-dev - LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa + LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa -framework IOKit endif ifeq ($(PLATFORM_OS),BSD) # Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling |
