Root/libphysfs/patches/CMakeLists.patch

1--- physfs-2.0.0/CMakeLists.txt 2009-03-23 06:13:28.000000000 +0100
2+++ physfs-2.0.0m/CMakeLists.txt 2010-07-28 20:16:16.893088173 +0200
3@@ -44,7 +44,7 @@
4 # Add some gcc-specific command lines.
5 IF(CMAKE_COMPILER_IS_GNUCC)
6     # Always build with debug symbols...you can strip it later.
7- ADD_DEFINITIONS(-g -pipe -Werror -fsigned-char)
8+ ADD_DEFINITIONS(-g -Werror -fsigned-char)
9 
10     # Stupid BeOS generates warnings in the system headers.
11     IF(NOT BEOS)
12@@ -315,7 +315,7 @@
13     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";test_physfs")
14 ENDIF(PHYSFS_BUILD_TEST)
15 
16-OPTION(PHYSFS_BUILD_WX_TEST "Build wxWidgets test program." TRUE)
17+OPTION(PHYSFS_BUILD_WX_TEST "Build wxWidgets test program." FALSE)
18 MARK_AS_ADVANCED(PHYSFS_BUILD_WX_TEST)
19 IF(PHYSFS_BUILD_WX_TEST)
20     SET(wxWidgets_USE_LIBS base core adv)
21

Archive Download this file



interactive