|
@@ -294,7 +294,7 @@ endmacro()
|
|
|
macro(CheckNAS)
|
|
macro(CheckNAS)
|
|
|
if(NAS)
|
|
if(NAS)
|
|
|
# Urho3D - bug fix - do not use check_include_file() for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
# Urho3D - bug fix - do not use check_include_file() for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
|
- find_package (NetworkAudioSystem)
|
|
|
|
|
|
|
+ find_package (NAS)
|
|
|
if(NAS_FOUND)
|
|
if(NAS_FOUND)
|
|
|
include_directories (SYSTEM ${NAS_INCLUDE_DIRS})
|
|
include_directories (SYSTEM ${NAS_INCLUDE_DIRS})
|
|
|
set(HAVE_NAS TRUE)
|
|
set(HAVE_NAS TRUE)
|
|
@@ -325,7 +325,7 @@ endmacro()
|
|
|
macro(CheckSNDIO)
|
|
macro(CheckSNDIO)
|
|
|
if(SNDIO)
|
|
if(SNDIO)
|
|
|
# Urho3D - bug fix - do not use check_include_file() for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
# Urho3D - bug fix - do not use check_include_file() for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
|
- find_package (RoarAudio)
|
|
|
|
|
|
|
+ find_package (SNDIO)
|
|
|
if(SNDIO_FOUND)
|
|
if(SNDIO_FOUND)
|
|
|
include_directories (SYSTEM ${SNDIO_INCLUDE_DIRS})
|
|
include_directories (SYSTEM ${SNDIO_INCLUDE_DIRS})
|
|
|
set(HAVE_SNDIO TRUE)
|
|
set(HAVE_SNDIO TRUE)
|
|
@@ -1105,8 +1105,8 @@ endmacro(CheckRPI)
|
|
|
macro(CheckKMSDRM)
|
|
macro(CheckKMSDRM)
|
|
|
if(VIDEO_KMSDRM)
|
|
if(VIDEO_KMSDRM)
|
|
|
# Urho3D - bug fix - do not use pkg-config tool for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
# Urho3D - bug fix - do not use pkg-config tool for detection as it only works for host environment and not for rooted environment when cross-compiling
|
|
|
- find_package (DirectRenderingManager)
|
|
|
|
|
- find_package (GenericBufferManagement)
|
|
|
|
|
|
|
+ find_package (DRM)
|
|
|
|
|
+ find_package (GBM)
|
|
|
if(DRM_FOUND AND GBM_FOUND)
|
|
if(DRM_FOUND AND GBM_FOUND)
|
|
|
include_directories (SYSTEM ${DRM_INCLUDE_DIRS} ${GBM_INCLUDE_DIRS})
|
|
include_directories (SYSTEM ${DRM_INCLUDE_DIRS} ${GBM_INCLUDE_DIRS})
|
|
|
set(HAVE_VIDEO_KMSDRM TRUE)
|
|
set(HAVE_VIDEO_KMSDRM TRUE)
|