add SYSTEM to include to prevent warnings (#1428)

This commit is contained in:
Ray Beck 2022-11-24 22:23:11 -05:00 committed by GitHub
parent 07c6e58951
commit e7eadc3605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ target_compile_features(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC}
cxx_std_11 cxx_std_11
) )
target_include_directories(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} target_include_directories(${PROJECT_NAME} SYSTEM ${_INTERFACE_OR_PUBLIC}
$<BUILD_INTERFACE:${_httplib_build_includedir}> $<BUILD_INTERFACE:${_httplib_build_includedir}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
) )