From ca0955c3fe71478bede0950bd7b22f31f7e1fb34 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 4 Jan 2023 19:16:13 +0100 Subject: Mark system include paths correctly This makes sure the compiler doesn't complain about problems in those files. --- tests/perf/CMakeLists.txt | 4 ++-- tests/unit/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/perf/CMakeLists.txt b/tests/perf/CMakeLists.txt index 70ffe777..562adfc0 100644 --- a/tests/perf/CMakeLists.txt +++ b/tests/perf/CMakeLists.txt @@ -1,5 +1,5 @@ include_directories(${CMAKE_SOURCE_DIR}/common) -include_directories(${GETTEXT_INCLUDE_DIR}) +include_directories(SYSTEM ${GETTEXT_INCLUDE_DIR}) add_library(test_util STATIC util.cxx) @@ -13,7 +13,7 @@ add_executable(encperf encperf.cxx) target_link_libraries(encperf test_util rfb) if (BUILD_VIEWER) - include_directories(${FLTK_INCLUDE_DIR}) + include_directories(SYSTEM ${FLTK_INCLUDE_DIR}) add_executable(fbperf fbperf.cxx ${CMAKE_SOURCE_DIR}/vncviewer/PlatformPixelBuffer.cxx diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 6daecba5..00f38b76 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -1,6 +1,6 @@ include_directories(${CMAKE_SOURCE_DIR}/common) include_directories(${CMAKE_SOURCE_DIR}/vncviewer) -include_directories(${GETTEXT_INCLUDE_DIR}) +include_directories(SYSTEM ${GETTEXT_INCLUDE_DIR}) add_executable(conv conv.cxx) target_link_libraries(conv rfb) -- cgit v1.2.3