Lines 1-6
Link Here
|
1 |
--- CMakeLists.txt.orig 2019-12-27 15:25:22 UTC |
1 |
--- CMakeLists.txt.orig 2020-03-10 14:00:26 UTC |
2 |
+++ CMakeLists.txt |
2 |
+++ CMakeLists.txt |
3 |
@@ -326,7 +326,7 @@ if(WIN32) |
3 |
@@ -491,7 +491,7 @@ if(WIN32) |
4 |
endif() |
4 |
endif() |
5 |
endif() |
5 |
endif() |
6 |
|
6 |
|
Lines 9-15
Link Here
|
9 |
# Enable POSIX extensions such as `readlink` and `ftruncate`. |
9 |
# Enable POSIX extensions such as `readlink` and `ftruncate`. |
10 |
add_definitions(-D_POSIX_C_SOURCE=200809L) |
10 |
add_definitions(-D_POSIX_C_SOURCE=200809L) |
11 |
endif() |
11 |
endif() |
12 |
@@ -337,8 +337,8 @@ endif() |
12 |
@@ -502,8 +502,8 @@ endif() |
13 |
|
13 |
|
14 |
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC") |
14 |
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC") |
15 |
# Change __FILE__ to only show the path relative to the project folder |
15 |
# Change __FILE__ to only show the path relative to the project folder |
Lines 20-26
Link Here
|
20 |
|
20 |
|
21 |
if(DEBUG) |
21 |
if(DEBUG) |
22 |
# Note: For Valgrind suppor. |
22 |
# Note: For Valgrind suppor. |
23 |
@@ -399,3 +399,9 @@ if(APPLE) |
23 |
@@ -564,6 +564,12 @@ if(APPLE) |
24 |
|
24 |
|
25 |
include(CPack) |
25 |
include(CPack) |
26 |
endif() |
26 |
endif() |
Lines 30-32
Link Here
|
30 |
+install(FILES Packaging/resources/16.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/16x16/apps RENAME devilutionx.png) |
30 |
+install(FILES Packaging/resources/16.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/16x16/apps RENAME devilutionx.png) |
31 |
+install(FILES Packaging/resources/Diablo_32.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/32x32/apps RENAME devilutionx.png) |
31 |
+install(FILES Packaging/resources/Diablo_32.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/32x32/apps RENAME devilutionx.png) |
32 |
+install(FILES Packaging/resources/Diablo_48.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/48x48/apps RENAME devilutionx.png) |
32 |
+install(FILES Packaging/resources/Diablo_48.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/48x48/apps RENAME devilutionx.png) |
|
|
33 |
|
34 |
if(SWITCH) |
35 |
set(APP_TITLE "DevilutionX") |