]> git.pld-linux.org Git - packages/libayatana-indicator.git/blob - build-type.patch
5ef7f39075f87139d0f90e662c154687a06a55f3
[packages/libayatana-indicator.git] / build-type.patch
1 --- libayatana-indicator-0.9.0/CMakeLists.txt.orig      2021-11-17 14:11:58.000000000 +0100
2 +++ libayatana-indicator-0.9.0/CMakeLists.txt   2021-11-19 11:58:38.251823192 +0100
3 @@ -11,13 +11,6 @@
4  option(ENABLE_COVERAGE "Enable coverage reports (includes enabling all tests and checks)" OFF)
5  option(ENABLE_WERROR "Treat all build warnings as errors" OFF)
6  
7 -if(ENABLE_COVERAGE)
8 -    set(ENABLE_TESTS ON)
9 -    set(CMAKE_BUILD_TYPE "Coverage")
10 -else()
11 -    set(CMAKE_BUILD_TYPE "Release")
12 -endif()
13 -
14  if(ENABLE_WERROR)
15      set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
16      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
This page took 0.034557 seconds and 2 git commands to generate.