aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-06-29 15:19:46 +0100
committerenen92 <92enen@gmail.com>2022-06-29 15:20:25 +0100
commit4edc68f69f9b109e12c2fad9ae909133d11ddf00 (patch)
tree9cb03648348cd79ee0517710e860e3ba49542fbe /cmake
parenta5f2c6cbfe990da831150008a748ef4b8e0ab9d3 (diff)
[cmake] Fix linking of libdvd*
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLibDvd.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLibDvd.cmake b/cmake/modules/FindLibDvd.cmake
index aa1d12c301..6853e84618 100644
--- a/cmake/modules/FindLibDvd.cmake
+++ b/cmake/modules/FindLibDvd.cmake
@@ -10,7 +10,7 @@ set(_dvdlibs ${LIBDVDREAD_LIBRARY} ${LIBDVDCSS_LIBRARY})
if(NOT CORE_SYSTEM_NAME MATCHES windows)
# link a shared dvdnav library that includes the whole archives of dvdread and dvdcss as well
# the quotes around _dvdlibs are on purpose, since we want to pass a list to the function that will be unpacked automatically
- core_link_library(LibDvdNav::LibDvdNav system/players/VideoPlayer/libdvdnav libdvdnav archives "${_dvdlibs}")
+ core_link_library(${LIBDVDNAV_LIBRARY} system/players/VideoPlayer/libdvdnav libdvdnav archives "${_dvdlibs}")
else()
set(LIBDVD_TARGET_DIR .)
if(CORE_SYSTEM_NAME STREQUAL windowsstore)