aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2024-05-12 05:45:26 +1000
committerGitHub <noreply@github.com>2024-05-12 05:45:26 +1000
commit5cce82485548dea6812ae5c876e6cad0426ad5c6 (patch)
tree0c88d5700244549f5f0478c1de0aa141da50e1e7
parentbdc3afaa73a7b855f4d817d9a220f3157547dee5 (diff)
parent210e904327fbff6e58753aab29b2a5e3bca8181f (diff)
downloadxbmc-5cce82485548dea6812ae5c876e6cad0426ad5c6.tar.xz
Merge pull request #25193 from fuzzard/fix_cmake_bluray
[cmake][modules] FindBluray correctly append rather than set compile definition
-rw-r--r--cmake/modules/FindBluray.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindBluray.cmake b/cmake/modules/FindBluray.cmake
index 1c4f12c89d..30d27d9bdc 100644
--- a/cmake/modules/FindBluray.cmake
+++ b/cmake/modules/FindBluray.cmake
@@ -69,8 +69,8 @@ if(NOT TARGET Bluray::Bluray)
endif()
if(NOT CORE_PLATFORM_NAME_LC STREQUAL windowsstore)
- set_target_properties(Bluray::Bluray PROPERTIES
- INTERFACE_COMPILE_DEFINITIONS "HAVE_LIBBLURAY_BDJ=1")
+ set_property(TARGET Bluray::Bluray APPEND PROPERTY
+ INTERFACE_COMPILE_DEFINITIONS "HAVE_LIBBLURAY_BDJ")
endif()
set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP Bluray::Bluray)