aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c944309..72994be 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ SRC_DIR = ./src
CPP = g++
-CPPFLAGS = -O3 -std=gnu++11 -I$(EIGEN_INCLUDE_PATH)
+CPPFLAGS = -O3 -std=gnu++11 -isystem$(EIGEN_INCLUDE_PATH)
ifdef SHOW_COMPILER_WARNINGS
CPPFLAGS += -Wall