cmake: mark readline include directories as SYSTEM (thanks, Tobias!).

This commit is contained in:
Ryan C. Gordon 2017-09-25 17:07:08 -04:00
parent 3d8817346d
commit 4ca60a090b
1 changed files with 1 additions and 1 deletions

View File

@ -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()