blob: 66ed8bb47d3551ebf5120cee0ae835c2739b0f72 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 64b806ab702a6f445fd84aca5f03bb85b86a66e3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 11 Nov 2021 18:37:09 -0800
4Subject: [PATCH] framework: do not mix plain and keyword
5 target_link_libraries() signatures
6
7Fixes
8| CMake Error at framework/CMakeLists.txt:461 (target_link_libraries):
9| The plain signature for target_link_libraries has already been used with
10| the target "framework". All uses of target_link_libraries with a target | must be either all-keyword or all-plain.
11|
12| The uses of the plain signature are here:
13| | * framework/CMakeLists.txt:453 (target_link_libraries)
14|
15
16Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/395]
17
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 framework/CMakeLists.txt | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/framework/CMakeLists.txt b/framework/CMakeLists.txt
24index 948c796..13d3324 100644
25--- a/framework/CMakeLists.txt
26+++ b/framework/CMakeLists.txt
27@@ -450,7 +450,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC
28 plugins)
29
30 if(${NEED_LINK_ATOMIC})
31- target_link_libraries(${PROJECT_NAME} atomic)
32+ target_link_libraries(${PROJECT_NAME} PUBLIC atomic)
33 endif()
34
35 # Link platform specific libraries
36--
372.33.1
38