Add QuartzCore when building for macOS to other build files
This commit is contained in:
parent
03dbcad5ba
commit
b463903533
10 changed files with 12 additions and 7 deletions
|
|
@ -89,13 +89,13 @@ OUTPUT_DIR="builds/osx"
|
|||
COMPILATION_FLAGS="-std=c99 -O2 -flto"
|
||||
FINAL_COMPILE_FLAGS="-s"
|
||||
WARNING_FLAGS="-Wall -Wextra -Wpedantic"
|
||||
LINK_FLAGS="-flto -framework OpenGL -framework OpenAL -framework IOKit -framework CoreVideo -framework Cocoa"
|
||||
LINK_FLAGS="-flto -framework OpenGL -framework OpenAL -framework IOKit -framework CoreVideo -framework Cocoa -framework QuartzCore"
|
||||
# Debug changes to flags
|
||||
if [ -n "$BUILD_DEBUG" ]; then
|
||||
OUTPUT_DIR="builds-debug/osx"
|
||||
COMPILATION_FLAGS="-std=c99 -O0 -g"
|
||||
FINAL_COMPILE_FLAGS=""
|
||||
LINK_FLAGS="-framework OpenGL -framework OpenAL -framework IOKit -framework CoreVideo -framework Cocoa"
|
||||
LINK_FLAGS="-framework OpenGL -framework OpenAL -framework IOKit -framework CoreVideo -framework Cocoa -framework QuartzCore"
|
||||
fi
|
||||
|
||||
# Display what we're doing
|
||||
|
|
|
|||
Loading…
Reference in a new issue