From 1ade8170c5c4b0eb5eb7ae2a5d430aa6d846da59 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Thu, 2 Jan 2025 16:40:51 -0500 Subject: [PATCH] Fix missing FREEBOX entry in backend web server. The USING_IPTV define needs to be PUBLIC so it will propagate to other targets. Fixes #1012 --- mythtv/libs/libmythtv/cmake/Backend.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mythtv/libs/libmythtv/cmake/Backend.cmake b/mythtv/libs/libmythtv/cmake/Backend.cmake index ea8ef2f3d2d..4b02fbb16f7 100644 --- a/mythtv/libs/libmythtv/cmake/Backend.cmake +++ b/mythtv/libs/libmythtv/cmake/Backend.cmake @@ -9,7 +9,10 @@ if(NOT ENABLE_BACKEND) endif() target_link_libraries(mythtv PUBLIC PkgConfig::LZO2) -target_compile_definitions(mythtv PRIVATE USING_BACKEND USING_IPTV) +target_compile_definitions( + mythtv + PUBLIC USING_IPTV + PRIVATE USING_BACKEND) target_sources( mythtv PRIVATE # Channel stuff