summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindBluray.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2018-01-01 13:40:09 +0100
committermanuel <manuel@mausz.at>2018-01-01 13:40:09 +0100
commit4830f27a40323fe859dc166337a2b861877b7121 (patch)
tree39e9f712a5415ec0026c3914f4bf600b2f679287 /cmake/modules/FindBluray.cmake
parent0afb1d4d51973cf52973617c92236d851a039d31 (diff)
downloadkodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.gz
kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.bz2
kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.zip
sync with upstream
Diffstat (limited to 'cmake/modules/FindBluray.cmake')
-rw-r--r--cmake/modules/FindBluray.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/modules/FindBluray.cmake b/cmake/modules/FindBluray.cmake
index 010fdf1..3c29f54 100644
--- a/cmake/modules/FindBluray.cmake
+++ b/cmake/modules/FindBluray.cmake
@@ -50,6 +50,11 @@ if(BLURAY_FOUND)
50 set(BLURAY_INCLUDE_DIRS ${BLURAY_INCLUDE_DIR}) 50 set(BLURAY_INCLUDE_DIRS ${BLURAY_INCLUDE_DIR})
51 set(BLURAY_DEFINITIONS -DHAVE_LIBBLURAY=1) 51 set(BLURAY_DEFINITIONS -DHAVE_LIBBLURAY=1)
52 52
53 # todo: improve syntax
54 if (NOT CORE_PLATFORM_NAME_LC STREQUAL windowsstore)
55 list(APPEND BLURAY_DEFINITIONS -DHAVE_LIBBLURAY_BDJ=1)
56 endif()
57
53 if(NOT TARGET Bluray::Bluray) 58 if(NOT TARGET Bluray::Bluray)
54 add_library(Bluray::Bluray UNKNOWN IMPORTED) 59 add_library(Bluray::Bluray UNKNOWN IMPORTED)
55 if(BLURAY_LIBRARY) 60 if(BLURAY_LIBRARY)