From 121687a0265d4e874300de0d00d03834a9e20bcd Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Nov 2016 15:16:32 -0800 Subject: Don't use -isystem with g++ anymore --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 46e1f8e4..cf9a3eb4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -242,7 +242,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug") get_directory_property(DIRINC INCLUDE_DIRECTORIES) foreach(_inc ${DIRINC}) - list(APPEND _args "-isystem " ${_inc}) + list(APPEND _args "-I" ${_inc}) endforeach(_inc ${DIRINC}) separate_arguments(_args) -- cgit v1.2.3