Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 1 | From 9023589317843df4e57f8ebef1d9a8398ddb929d Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 28 May 2020 15:34:05 +0000 |
| 4 | Subject: [PATCH] CMakeLists.txt: avoid changing install paths based on host |
| 5 | distro |
| 6 | |
| 7 | Upstream-Status: Inappropriate [oe-core specific] |
| 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 9 | --- |
| 10 | CMakeLists.txt | 6 +++--- |
| 11 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 12 | |
| 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 14 | index 2cd4f8e..4759812 100644 |
| 15 | --- a/CMakeLists.txt |
| 16 | +++ b/CMakeLists.txt |
| 17 | @@ -21,9 +21,9 @@ set(CMAKE_EXE_LINKER_FLAGS_COVERAGE "-lgcov") |
| 18 | set(CMAKE_SHARED_LINKER_FLAGS_COVERAGE "-lgcov") |
| 19 | |
| 20 | # Work around bug in GNUInstallDirs |
| 21 | -if (EXISTS "/etc/debian_version") |
| 22 | - set(CMAKE_INSTALL_LIBEXECDIR "lib") |
| 23 | -endif() |
| 24 | +#if (EXISTS "/etc/debian_version") |
| 25 | +set(CMAKE_INSTALL_LIBEXECDIR "lib") |
| 26 | +#endif() |
| 27 | |
| 28 | # Include stuff |
| 29 | include(Misc) |