aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers/0007-obey-CMAKE_INSTALL_PREFIX.patch
blob: 9bcaacd252a26ff2967559c2ca48a9a99e5baffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 15973dcf82c95ca05a4d76bd69785df2679876d6 Mon Sep 17 00:00:00 2001
From: Awais Belal <awais_belal@mentor.com>
Date: Thu, 1 Sep 2016 13:27:50 +0500
Subject: [PATCH] obey CMAKE_INSTALL_PREFIX

Unsetting CMAKE_INSTALL_PREFIX breaks relative installation
paths. The recent updates to cmake.bbclass requires
using the installation prefix to allow installing to
correct hierarchy under yocto environment.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 263002e..a0d3baa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,8 +57,6 @@ if(NOT WIN32)
     include(FindPkgConfig)
 endif()
 
-set (CMAKE_INSTALL_PREFIX "")
-
 if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
     set(COMMON_COMPILE_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers")
     set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -fno-strict-aliasing -fno-builtin-memcmp")
-- 
1.9.1