mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 17:21:24 +00:00
Native OS X backend no longer requires SDL
This commit is contained in:
parent
3c76e5689a
commit
84b12d23b5
1 changed files with 3 additions and 3 deletions
|
@ -198,12 +198,12 @@ else( WIN32 )
|
||||||
add_definitions( -DNO_GTK=1 )
|
add_definitions( -DNO_GTK=1 )
|
||||||
endif( NO_GTK )
|
endif( NO_GTK )
|
||||||
|
|
||||||
# Non-Windows version also needs SDL
|
# Non-Windows version also needs SDL except native OS X backend
|
||||||
find_package( SDL2 REQUIRED )
|
|
||||||
if( NOT APPLE OR NOT OSX_COCOA_BACKEND )
|
if( NOT APPLE OR NOT OSX_COCOA_BACKEND )
|
||||||
|
find_package( SDL2 REQUIRED )
|
||||||
|
include_directories( "${SDL2_INCLUDE_DIR}" )
|
||||||
set( ZDOOM_LIBS ${ZDOOM_LIBS} "${SDL2_LIBRARY}" )
|
set( ZDOOM_LIBS ${ZDOOM_LIBS} "${SDL2_LIBRARY}" )
|
||||||
endif( NOT APPLE OR NOT OSX_COCOA_BACKEND )
|
endif( NOT APPLE OR NOT OSX_COCOA_BACKEND )
|
||||||
include_directories( "${SDL2_INCLUDE_DIR}" )
|
|
||||||
|
|
||||||
find_path( FPU_CONTROL_DIR fpu_control.h )
|
find_path( FPU_CONTROL_DIR fpu_control.h )
|
||||||
if( FPU_CONTROL_DIR )
|
if( FPU_CONTROL_DIR )
|
||||||
|
|
Loading…
Reference in a new issue