• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 43ec50c9cf7393cbb7d969aef8c9d4afd36ca779 Mon Sep 17 00:00:00 2001
2From: Aleksandr Semenov <smallcsf@gmail.com>
3Date: Mon, 17 Apr 2023 20:41:01 +0300
4Subject: [PATCH] Mark include as system
5---
6 CMakeLists.txt | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9diff --git a/CMakeLists.txt b/CMakeLists.txt
10index 9f583af..7ba850a 100644
11--- a/CMakeLists.txt
12+++ b/CMakeLists.txt
13@@ -81,7 +81,7 @@ else()
14     APPEND_STRING PROPERTY COMPILE_FLAGS " -O3")
15 endif()
16
17-target_include_directories(rapidcheck PUBLIC
18+target_include_directories(rapidcheck SYSTEM PRIVATE
19     $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
20     $<INSTALL_INTERFACE:include>  # <prefix>/include
21 )
22--
232.25.1
24
25