blob: a90f7079ece123065da9fc9723826d27d40e9b93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- dustrac-1.9.2.orig/CMakeLists.txt
+++ dustrac-1.9.2/CMakeLists.txt
@@ -68,8 +68,7 @@
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR MINGW OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -W -Wall -O3 -pedantic")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fomit-frame-pointer -finline-functions -ffast-math")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -W -Wall -fomit-frame-pointer -finline-functions")
elseif(MSVC)
add_definitions(-DNOMINMAX)
endif()
--- dustrac-1.9.2.orig/InstallLinux.cmake
+++ dustrac-1.9.2/InstallLinux.cmake
@@ -58,7 +58,7 @@
install(FILES data/fonts.conf DESTINATION ${DATA_PATH})
install(FILES data/meshes.conf DESTINATION ${DATA_PATH})
install(FILES data/textures.conf DESTINATION ${DATA_PATH})
- install(FILES AUTHORS CHANGELOG COPYING README DESTINATION ${DOC_PATH})
+ install(FILES AUTHORS CHANGELOG README DESTINATION ${DOC_PATH})
install(DIRECTORY data/images DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.jpg")
install(DIRECTORY data/images DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.png")
install(DIRECTORY data/levels DESTINATION ${DATA_PATH} FILES_MATCHING PATTERN "*.trk")
|