blob: d1f0f3b1bcda7d463b9bd70b1111ff8d0370bd82 (
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
|
From a6b250054e5bc27b87414c860c9b808a4beef552 Mon Sep 17 00:00:00 2001
From: Awais Belal <awais_belal@mentor.com>
Date: Tue, 16 Aug 2016 16:07:45 +0500
Subject: [PATCH] obey CMAKE_INSTALL_LIBDIR
If the path to CMAKE_INSTALL_LIBDIR is not followed appropriately
the installation will not work correctly on a multilib platofrm.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
source/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index de227d6..73672a1 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -198,5 +198,5 @@ target_include_directories(${SPIRV_TOOLS}
install(TARGETS ${SPIRV_TOOLS}
RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib)
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
--
1.9.1
|