Skip to content

Commit fbad848

Browse files
committed
Use SYSTEM to declare includes (prevent warnings)
1 parent d9ab720 commit fbad848

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ project("fast-cpp-csv-parser" VERSION 1.0.0
55
include(GNUInstallDirs)
66

77
add_library(${PROJECT_NAME} INTERFACE)
8-
target_include_directories(
9-
${PROJECT_NAME}
8+
target_include_directories(${PROJECT_NAME} SYSTEM
109
INTERFACE $<BUILD_INTERFACE:${${PROJECT_NAME}_SOURCE_DIR}/include>
1110
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
1211
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)

0 commit comments

Comments
 (0)