File r1701-Compatibility-fix-for-CMake-2.8.patch of Package podofo.7908
------------------------------------------------------------------------
r1701 | aja_ | 2016-02-15 14:34:44 +0100 (lun, 15 feb 2016) | 2 lines
ADDED: Patch by Peter Petrov: Compatibility fix for CMake 2.8
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 1700)
+++ CMakeLists.txt (revision 1701)
@@ -287,16 +287,8 @@
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
- -Wall \
- -Woverloaded-virtual \
- -Wswitch-enum \
- -Wcast-qual \
- -Wwrite-strings \
- -Wredundant-decls \
- -Wreorder"
- #-Wold-style-cast
- )
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder")
+
#
# Note that we do not need debug definitions here. Set
# -DCMAKE_BUILD_TYPE=debug or (if you want an optimised
------------------------------------------------------------------------