Skip to content

Commit e7eadc3

Browse files
authored
add SYSTEM to include to prevent warnings (#1428)
1 parent 07c6e58 commit e7eadc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ target_compile_features(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
193193
cxx_std_11
194194
)
195195

196-
target_include_directories(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
196+
target_include_directories(${PROJECT_NAME} SYSTEM ${_INTERFACE_OR_PUBLIC}
197197
$<BUILD_INTERFACE:${_httplib_build_includedir}>
198198
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
199199
)

0 commit comments

Comments
 (0)