mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 02:43:58 +02:00
check SDL2 framework on OSX
This commit is contained in:
committed by
Tamás Bálint Misius
parent
cf7e478ac5
commit
c5c4d92c32
@@ -238,9 +238,9 @@ def findLibs(env, conf):
|
||||
|
||||
#Look for SDL
|
||||
runSdlConfig = platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD"
|
||||
#if platform == "Darwin" and conf.CheckFramework("SDL"):
|
||||
# runSdlConfig = False
|
||||
if not conf.CheckLib("SDL2"):
|
||||
if platform == "Darwin" and conf.CheckFramework("SDL2"):
|
||||
runSdlConfig = False
|
||||
elif not conf.CheckLib("SDL2"):
|
||||
FatalError("SDL2 development library not found or not installed")
|
||||
|
||||
if runSdlConfig:
|
||||
|
Reference in New Issue
Block a user