aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-12-14 18:39:03 +1000
committerfuzzard <fuzzard@kodi.tv>2022-12-17 15:10:13 +1000
commit00a3f8ed8b6442105c6d8db0e4f7d2647cf38d22 (patch)
treedffea832b7dac75258fa035df6c448866385a940 /cmake
parentb8b63825c2847307a4a2076b28fe7e5da7fa45ed (diff)
[tools/depends][target] Bump Taglib 1.13
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindTagLib.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/cmake/modules/FindTagLib.cmake b/cmake/modules/FindTagLib.cmake
index 84f7b8dae9..9caafaff03 100644
--- a/cmake/modules/FindTagLib.cmake
+++ b/cmake/modules/FindTagLib.cmake
@@ -25,6 +25,10 @@ if(ENABLE_INTERNAL_TAGLIB)
if(WIN32 OR WINDOWS_STORE)
set(patches "${CMAKE_SOURCE_DIR}/tools/depends/target/${MODULE_LC}/001-cmake-pdb-debug.patch")
generate_patchcommand("${patches}")
+
+ if(WINDOWS_STORE)
+ set(EXTRA_ARGS -DPLATFORM_WINRT=ON)
+ endif()
endif()
# Debug postfix only used for windows
@@ -33,7 +37,10 @@ if(ENABLE_INTERNAL_TAGLIB)
endif()
set(CMAKE_ARGS -DBUILD_SHARED_LIBS=OFF
- -DBUILD_BINDINGS=OFF)
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_TESTING=OFF
+ -DBUILD_BINDINGS=OFF
+ ${EXTRA_ARGS})
BUILD_DEP_TARGET()