Parcourir la source

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
pull/3667/head
Tim Romero il y a 1 an
committed by GitHub
Parent
révision
f914020d45
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      projects/VSCode/.vscode/c_cpp_properties.json
  2. +1
    -1
      projects/VSCode/Makefile

+ 1
- 1
projects/VSCode/.vscode/c_cpp_properties.json Voir le fichier

@ -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",

+ 1
- 1
projects/VSCode/Makefile Voir le fichier

@ -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

Chargement…
Annuler
Enregistrer