forked from pool/kdump
23 lines
695 B
Diff
23 lines
695 B
Diff
|
From: Petr Tesarik <ptesarik@suse.com>
|
||
|
Subject: Avoid using TARGET_* cmake directives
|
||
|
Patch-mainline: never; compatibility with older SUSE distros
|
||
|
|
||
|
This patch can be removed when we stop caring about SLES11...
|
||
|
|
||
|
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
||
|
---
|
||
|
init/CMakeLists.txt | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/init/CMakeLists.txt
|
||
|
+++ b/init/CMakeLists.txt
|
||
|
@@ -20,7 +20,7 @@
|
||
|
ADD_EXECUTABLE(device-timeout-generator
|
||
|
device-timeout-generator.c
|
||
|
)
|
||
|
-TARGET_INCLUDE_DIRECTORIES(device-timeout-generator
|
||
|
+INCLUDE_DIRECTORIES(device-timeout-generator
|
||
|
PUBLIC ${BLKID_INCLUDE_DIRS})
|
||
|
TARGET_LINK_LIBRARIES(device-timeout-generator
|
||
|
${BLKID_LIBRARIES})
|