check SDL2 framework on OSX
This commit is contained in:
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