Make sure the third-party libraries are always included as "system".

This commit is contained in:
Alexander Shaduri
2022-02-15 16:30:27 +04:00
parent 6ed82f821f
commit 01d699fc74
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ find_package(Intl REQUIRED)
add_library(app_gettext_interface INTERFACE)
if (Intl_INCLUDE_DIRS)
target_include_directories(app_gettext_interface
INTERFACE
SYSTEM INTERFACE
${Intl_INCLUDE_DIRS}
)
endif()
+1 -1
View File
@@ -15,7 +15,7 @@ target_sources(Catch2 INTERFACE
)
target_include_directories(Catch2
INTERFACE SYSTEM
SYSTEM INTERFACE
"${CMAKE_SOURCE_DIR}/dependencies/catch2/Catch2/single_include"
)
+1 -1
View File
@@ -13,7 +13,7 @@ target_sources(boost_leaf INTERFACE
)
target_include_directories(boost_leaf
INTERFACE SYSTEM
SYSTEM INTERFACE
"${CMAKE_SOURCE_DIR}/dependencies/leaf/standalone"
"${CMAKE_SOURCE_DIR}/dependencies/leaf/convenience"
)
+1 -1
View File
@@ -12,7 +12,7 @@ target_sources(nlohmann_json INTERFACE
)
target_include_directories(nlohmann_json
INTERFACE SYSTEM
SYSTEM INTERFACE
"${CMAKE_SOURCE_DIR}/dependencies/nlohmann_json"
)
+1 -1
View File
@@ -12,7 +12,7 @@ target_sources(whereami PRIVATE
)
target_include_directories(whereami
PUBLIC
SYSTEM PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}/whereami/src"
)