summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMateusz Nowakowski <mateusz.cz.nowakowski@gmail.com>2016-10-03 16:52:52 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-10-05 18:21:13 +0200
commit6d8cbfa5b669f82de565a302b5031fe08838cc5a (patch)
tree655d91f6737e66647ccc8b2365c5325100f00ee2 /meta-oe
parent63707b56b5352ed72f1c5291967455b78f50fb7d (diff)
downloadmeta-openembedded-6d8cbfa5b669f82de565a302b5031fe08838cc5a.tar.gz
gmock: fixed installing pkgconfig file and libraries on x86_64 architecture
Signed-off-by: Mateusz Nowakowski <mateusz.cz.nowakowski@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch4
-rw-r--r--meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch6
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch b/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
index 92a639365..0dac9981b 100644
--- a/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
+++ b/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
@@ -29,8 +29,8 @@ index 572d044..90e797a 100644
29 src/gmock_main.cc) 29 src/gmock_main.cc)
30 30
31+ 31+
32+install(TARGETS gmock DESTINATION lib) 32+install(TARGETS gmock DESTINATION ${CMAKE_INSTALL_LIBDIR})
33+install(TARGETS gmock_main DESTINATION lib) 33+install(TARGETS gmock_main DESTINATION ${CMAKE_INSTALL_LIBDIR})
34+ 34+
35 ######################################################################## 35 ########################################################################
36 # 36 #
diff --git a/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch b/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
index aa38fe49f..8ffe1a6a1 100644
--- a/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
+++ b/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
@@ -27,11 +27,11 @@ index 90e797a..98fd824 100644
27 # Project-wide settings 27 # Project-wide settings
28@@ -87,7 +90,9 @@ cxx_library(gmock_main 28@@ -87,7 +90,9 @@ cxx_library(gmock_main
29 29
30 install(TARGETS gmock DESTINATION lib) 30 install(TARGETS gmock DESTINATION ${CMAKE_INSTALL_LIBDIR})
31 install(TARGETS gmock_main DESTINATION lib) 31 install(TARGETS gmock_main DESTINATION ${CMAKE_INSTALL_LIBDIR})
32- 32-
33+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gmock.pc" 33+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gmock.pc"
34+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/" 34+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/"
35+) 35+)
36 ######################################################################## 36 ########################################################################
37 # 37 #