Skip to content

Commit

Permalink
cmake: mark readline include directories as SYSTEM (thanks, Tobias!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 25, 2017
1 parent 3d88173 commit 4ca60a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 4ca60a0

Please sign in to comment.