upgrading in SLE10, but this distribution is discontinued now. OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=123
29 lines
843 B
Diff
29 lines
843 B
Diff
From: Petr Tesarik <ptesarik@suse.com>
|
|
Date: Wed Oct 5 08:48:38 2016 +0200
|
|
Subject: Avoid using TARGET_* cmake directives
|
|
Upstream: never; compatibility with older SUSE distros
|
|
|
|
The TARGET_INCLUDE_DIRECTORIES directive was added in cmake 3.0.2.
|
|
It is not recognized by older versions.
|
|
|
|
This patch can be removed when we stop caring about SLES11...
|
|
|
|
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
|
---
|
|
init/CMakeLists.txt | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/init/CMakeLists.txt
|
|
+++ b/init/CMakeLists.txt
|
|
@@ -20,8 +20,8 @@
|
|
ADD_EXECUTABLE(device-timeout-generator
|
|
device-timeout-generator.c
|
|
)
|
|
-TARGET_INCLUDE_DIRECTORIES(device-timeout-generator
|
|
- PUBLIC ${BLKID_INCLUDE_DIRS})
|
|
+INCLUDE_DIRECTORIES(
|
|
+ ${BLKID_INCLUDE_DIRS})
|
|
TARGET_LINK_LIBRARIES(device-timeout-generator
|
|
${BLKID_LIBRARIES})
|
|
|