diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-03 20:41:50 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-06 19:08:18 +0200 |
commit | 9daf8c810684c4b438e361f3e57ed322265f95c0 (patch) | |
tree | fd6ffbb5165360a136291f1bab76a62f60daa64a /package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt | |
parent | 92855b2b18aff940a539f1998559c5f07889c464 (diff) |
bcm28xx-vc: use /usr
Diffstat (limited to 'package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt')
-rw-r--r-- | package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt b/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt index 20d396566..2b6a25111 100644 --- a/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt +++ b/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt @@ -1,5 +1,5 @@ ---- bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8.orig/host_applications/linux/libs/bcm_host/CMakeLists.txt 2015-10-27 10:59:48.000000000 +0100 -+++ bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8/host_applications/linux/libs/bcm_host/CMakeLists.txt 2015-11-16 20:31:44.277474548 +0100 +--- bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18.orig/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-06-27 18:59:31.000000000 +0200 ++++ bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-07-01 14:33:21.139286425 +0200 @@ -3,7 +3,7 @@ if (WIN32) set(VCOS_PLATFORM win32) else () @@ -9,3 +9,11 @@ endif () include_directories( ../../../.. +@@ -20,3 +20,7 @@ target_link_libraries(bcm_host vcos vcho + + install(TARGETS bcm_host DESTINATION lib) + ++configure_file("${CMAKE_CURRENT_SOURCE_DIR}/bcm_host.pc.in" ++ "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc" @ONLY) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc" ++ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") |