Skip to content

Commit

Permalink
Test setting CFLAGS for libzvbi using Set instead
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Aug 14, 2024
1 parent 5ddd117 commit bd0effa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions depends/common/libzvbi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd0effa

Please sign in to comment.