File: 1006_drop-libexecdir-special-behaviour-for-Debian.patch

package info (click to toggle)
libqtdbustest 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: cpp: 565; sh: 59; makefile: 28
file content (19 lines) | stat: -rw-r--r-- 816 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: CMakeLists.txt: Drop special CMake adjustments for libexecdir if building on a Debian-like system.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: https://gitlab.com/ubports/development/core/libqtdbustest/-/merge_requests/5

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,12 +34,6 @@
 
 include(GNUInstallDirs)
 
-# Workaround for libexecdir on debian
-if (EXISTS "/etc/debian_version") 
-  set(CMAKE_INSTALL_LIBEXECDIR ${CMAKE_INSTALL_LIBDIR})
-  set(CMAKE_INSTALL_FULL_LIBEXECDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBEXECDIR}")
-endif()
-
 set(LOCALE_DIR "${CMAKE_INSTALL_FULL_DATADIR}/locale")
 set(DBUS_SYSTEM_CONFIG_FILE "${CMAKE_INSTALL_FULL_DATADIR}/libqtdbustest/system.conf")
 set(DBUS_SESSION_CONFIG_FILE "${CMAKE_INSTALL_FULL_DATADIR}/libqtdbustest/session.conf")