Skip to content

Commit

Permalink
Merge pull request #25193 from fuzzard/fix_cmake_bluray
Browse files Browse the repository at this point in the history
[cmake][modules] FindBluray correctly append rather than set compile definition
  • Loading branch information
fuzzard committed May 11, 2024
2 parents bdc3afa + 210e904 commit 5cce824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/FindBluray.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5cce824

Please sign in to comment.