mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
294753abf9
used quilt. Details: Applying patch allow-libdir-override.patch patching file CMakeLists.txt Hunk #1 succeeded at 36 with fuzz 1 (offset 10 lines). Now at patch allow-libdir-override.patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
Allow LIB_INSTALL_DIR to be set by the the cmake configure invocation. We dont
|
|
easily have a way of determining something that patches ${LIB_SUFFIX} so we'll
|
|
set LIB_INSTALL_DIR.
|
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
|
|
|
Index: git/CMakeLists.txt
|
|
===================================================================
|
|
--- git.orig/CMakeLists.txt
|
|
+++ git/CMakeLists.txt
|
|
@@ -36,7 +36,7 @@ FIND_PACKAGE(LibXml2 REQUIRED)
|
|
SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
|
|
SET(EXEC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Installation prefix for executables and object code libraries" FORCE)
|
|
SET(BIN_INSTALL_DIR ${EXEC_INSTALL_PREFIX}/bin CACHE PATH "Installation prefix for user executables" FORCE)
|
|
-SET(LIB_INSTALL_DIR ${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "Installation prefix for object code libraries" FORCE)
|
|
+SET(LIB_INSTALL_DIR ${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "Installation prefix for object code libraries")
|
|
SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include CACHE PATH "Installation prefix for C header files" FORCE)
|
|
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libmusicbrainz5.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libmusicbrainz5.pc)
|