Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix builds with modern GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Burroughs committed Jun 23, 2016
1 parent 7c5cf75 commit 61d3b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -50,7 +50,7 @@ endif()
# Add some gcc-specific command lines.
if(CMAKE_COMPILER_IS_GNUCC)
# Always build with debug symbols...you can strip it later.
add_definitions(-g -pipe -Werror -fsigned-char)
add_definitions(-g -pipe -fsigned-char)

# Stupid BeOS generates warnings in the system headers.
if(NOT BEOS)
Expand Down Expand Up @@ -304,7 +304,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 61d3b63

Please sign in to comment.