summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindBluray.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
committermanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
commit5f8335c1e49ce108ef3481863833c98efa00411b (patch)
treef02b5c1c9765bb6a14c8eb42bb4f81b9face0b55 /cmake/modules/FindBluray.cmake
parente317daf081a1048904fdf0b548946fa3ba6593a7 (diff)
downloadkodi-pvr-build-master.tar.gz
kodi-pvr-build-master.tar.bz2
kodi-pvr-build-master.zip
sync with upstreamHEADmaster
Diffstat (limited to 'cmake/modules/FindBluray.cmake')
-rw-r--r--cmake/modules/FindBluray.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/FindBluray.cmake b/cmake/modules/FindBluray.cmake
index 58a9a91..34bc50e 100644
--- a/cmake/modules/FindBluray.cmake
+++ b/cmake/modules/FindBluray.cmake
@@ -48,6 +48,10 @@ if(BLURAY_FOUND)
48 list(APPEND BLURAY_DEFINITIONS -DHAVE_LIBBLURAY_BDJ=1) 48 list(APPEND BLURAY_DEFINITIONS -DHAVE_LIBBLURAY_BDJ=1)
49 endif() 49 endif()
50 50
51 if(${BLURAY_LIBRARY} MATCHES ".+\.a$" AND PC_BLURAY_STATIC_LIBRARIES)
52 list(APPEND BLURAY_LIBRARIES ${PC_BLURAY_STATIC_LIBRARIES})
53 endif()
54
51 if(NOT TARGET Bluray::Bluray) 55 if(NOT TARGET Bluray::Bluray)
52 add_library(Bluray::Bluray UNKNOWN IMPORTED) 56 add_library(Bluray::Bluray UNKNOWN IMPORTED)
53 if(BLURAY_LIBRARY) 57 if(BLURAY_LIBRARY)