[Pkg-mpd-commits] [qmpdclient] 12/38: CMakeLists.txt: install executable file into root folder instead of bin on Win32

Andrey Rahmatullin wrar at moszumanska.debian.org
Mon May 23 07:19:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

wrar pushed a commit to branch master
in repository qmpdclient.

commit ecf158cdeadce1f532bc4a620d06ee46aec3a002
Author: Denis Krjuchkov <denis at crazydev.net>
Date:   Sat Mar 31 11:49:41 2012 +0600

    CMakeLists.txt: install executable file into root folder instead of bin on Win32
    
    This is required to correctly detect translation files
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd71b9f..c422b52 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -297,8 +297,8 @@ if(WIN32)
 	set_target_properties(qmpdclient PROPERTIES WIN32_EXECUTABLE TRUE)
 endif()
 
-install(TARGETS qmpdclient DESTINATION bin)
 if(UNIX)
+	install(TARGETS qmpdclient DESTINATION bin)
 	install(FILES qmpdclient.desktop DESTINATION share/applications)
 	install(FILES icons/64x64/qmpdclient.png DESTINATION share/icons/hicolor/64x64/apps/)
 	install(FILES icons/48x48/qmpdclient.png DESTINATION share/icons/hicolor/48x48/apps/)
@@ -308,5 +308,6 @@ if(UNIX)
 	install(FILES ${COMPILED_TRANSLATIONS} DESTINATION share/QMPDClient/translations)
 endif()
 if(WIN32)
+	install(TARGETS qmpdclient DESTINATION .)
 	install(FILES ${COMPILED_TRANSLATIONS} DESTINATION translations)
 endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/qmpdclient.git



More information about the Pkg-mpd-commits mailing list