From bd0effae9dee202c693429c1a58f8aa5b64b2787 Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Wed, 14 Aug 2024 07:26:27 +0100 Subject: [PATCH] Test setting CFLAGS for libzvbi using Set instead --- depends/common/libzvbi/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/depends/common/libzvbi/CMakeLists.txt b/depends/common/libzvbi/CMakeLists.txt index c5a2c5e2..dc0a6a92 100644 --- a/depends/common/libzvbi/CMakeLists.txt +++ b/depends/common/libzvbi/CMakeLists.txt @@ -4,12 +4,12 @@ cmake_minimum_required(VERSION 3.5) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) -list(APPEND zvbi_conf CPPFLAGS=-I${CMAKE_INSTALL_PREFIX}/include) if (CORE_SYSTEM_NAME STREQUAL android) - list(APPEND zvbi_conf CFLAGS="-I${CMAKE_INSTALL_PREFIX}/include -Wno-implicit-function-declaration") + set(zvbi_conf "CFLAGS=-I${CMAKE_INSTALL_PREFIX}/include -Wno-implicit-function-declaration") else() - list(APPEND zvbi_conf CFLAGS=-I${CMAKE_INSTALL_PREFIX}/include) + set(zvbi_conf CFLAGS=-I${CMAKE_INSTALL_PREFIX}/include) endif() +list(APPEND zvbi_conf CPPFLAGS=-I${CMAKE_INSTALL_PREFIX}/include) list(APPEND zvbi_conf LDFLAGS=-L${CMAKE_INSTALL_PREFIX}/lib) if (CORE_SYSTEM_NAME STREQUAL android) list(APPEND zvbi_conf LIBS=-liconv)