mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 11:24:04 +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
|
#Look for SDL
|
||||||
runSdlConfig = platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD"
|
runSdlConfig = platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD"
|
||||||
#if platform == "Darwin" and conf.CheckFramework("SDL"):
|
if platform == "Darwin" and conf.CheckFramework("SDL2"):
|
||||||
# runSdlConfig = False
|
runSdlConfig = False
|
||||||
if not conf.CheckLib("SDL2"):
|
elif not conf.CheckLib("SDL2"):
|
||||||
FatalError("SDL2 development library not found or not installed")
|
FatalError("SDL2 development library not found or not installed")
|
||||||
|
|
||||||
if runSdlConfig:
|
if runSdlConfig:
|
||||||
|
Reference in New Issue
Block a user