21 lines
867 B
Plaintext
21 lines
867 B
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.4 2014/09/13 05:05:51 kirby Exp $
|
|
|
|
Commited upstream 2cb4623245258ac74aef6bca6380ec8bf3391a14
|
|
|
|
--- CMakeLists.txt.orig Fri Jun 13 23:35:59 2014
|
|
+++ CMakeLists.txt Mon Sep 8 13:37:05 2014
|
|
@@ -144,5 +144,12 @@ if ( BUILD_PACKAGE )
|
|
)
|
|
endif()
|
|
|
|
-add_subdirectory ( docs )
|
|
+if ( NOT WIN32 )
|
|
+ install(FILES "${CMAKE_SOURCE_DIR}/res/linux/openxcom.desktop" DESTINATION share/applications)
|
|
+ install(FILES "${CMAKE_SOURCE_DIR}/res/linux/icons/openxcom_48x48.png" DESTINATION share/icons/hicolor/48x48/apps RENAME openxcom.png)
|
|
+ install(FILES "${CMAKE_SOURCE_DIR}/res/linux/icons/openxcom_128x128.png" DESTINATION share/icons/hicolor/128x128/apps RENAME openxcom.png)
|
|
+ install(FILES "${CMAKE_SOURCE_DIR}/res/linux/icons/openxcom.svg" DESTINATION share/icons/hicolor/scalable/apps)
|
|
+endif ()
|
|
+
|
|
+
|
|
add_subdirectory ( src )
|