From 4ca60a090bca2cb95b395690dc82a4187be223e5 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 25 Sep 2017 17:07:08 -0400 Subject: [PATCH] cmake: mark readline include directories as SYSTEM (thanks, Tobias!). --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad1441b..83c4541 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,7 +204,7 @@ if(PHYSFS_BUILD_TEST) if(READLINE_LIBRARY) set(HAVE_SYSTEM_READLINE TRUE) set(TEST_PHYSFS_LIBS ${TEST_PHYSFS_LIBS} ${READLINE_LIBRARY} ${CURSES_LIBRARY}) - include_directories(${READLINE_H} ${HISTORY_H}) + include_directories(SYSTEM ${READLINE_H} ${HISTORY_H}) add_definitions(-DPHYSFS_HAVE_READLINE=1) endif() endif()