-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install desktop files and manpage. Remove extra flags to fix build on package cluster.
- Loading branch information
1 parent
390db0e
commit db2de49
Showing
3 changed files
with
61 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- CMakeLists.txt.orig 2021-12-03 18:38:49 UTC | ||
+++ CMakeLists.txt | ||
@@ -135,15 +135,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") | ||
|
||
message(STATUS "Detected GCC version 4.7+") | ||
|
||
- set(NORMAL_CXX_FLAGS "-std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations") | ||
- set(NORMAL_CXX_FLAGS "${NORMAL_CXX_FLAGS} -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958 | ||
+ set(NORMAL_CXX_FLAGS "-std=gnu++11 -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958 | ||
|
||
- if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0) | ||
- set(NORMAL_CXX_FLAGS "${NORMAL_CXX_FLAGS} -Wsuggest-override") | ||
- endif() | ||
- | ||
- set(RELEASE_CXX_FLAGS "-O2") | ||
- set(DEBUG_CXX_FLAGS "-g -O0") | ||
set(TEST_CXX_FLAGS "-pthread") | ||
add_definitions(-DNOEXCEPT=noexcept -DHAVE_DEMANGLE) | ||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
@@ -153,10 +146,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
|
||
message(STATUS "Detected Clang version 3.1+") | ||
|
||
- set(NORMAL_CXX_FLAGS "-std=c++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-prototypes") | ||
- set(NORMAL_CXX_FLAGS "${NORMAL_CXX_FLAGS} -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958 | ||
- set(RELEASE_CXX_FLAGS "-O2") | ||
- set(DEBUG_CXX_FLAGS "-g -O0") | ||
+ set(NORMAL_CXX_FLAGS "-std=c++11 -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958 | ||
set(TEST_CXX_FLAGS "-pthread") | ||
add_definitions(-DNOEXCEPT=noexcept -DHAVE_DEMANGLE) | ||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters