sdbusplus: use meson build
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3591e03c4f357efe19d6809c7456a00cc412b201
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 547fef0..9511cfd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -285,7 +285,7 @@
# sdbusplus
if (NOT ${YOCTO_DEPENDENCIES})
include_directories (SYSTEM ${CMAKE_BINARY_DIR}/sdbusplus-src)
- link_directories (${CMAKE_BINARY_DIR}/sdbusplus-src/.libs)
+ link_directories (${CMAKE_BINARY_DIR}/sdbusplus-src/build)
endif ()
# Openssl
diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in
index ae2155a..c25df8b 100644
--- a/CMakeLists.txt.in
+++ b/CMakeLists.txt.in
@@ -9,11 +9,11 @@
externalproject_add (
sdbusplus-project PREFIX ${CMAKE_BINARY_DIR}/sdbusplus-project
GIT_REPOSITORY https://github.com/openbmc/sdbusplus.git GIT_TAG
- 4212292bcf136d04b38ba5116aa568b0fa312798 SOURCE_DIR
+ fa3137a78e952134559bf7c41c4f29fa4afabe02 SOURCE_DIR
${CMAKE_BINARY_DIR}/sdbusplus-src BINARY_DIR
${CMAKE_BINARY_DIR}/sdbusplus-build CONFIGURE_COMMAND "" BUILD_COMMAND cd
- ${CMAKE_BINARY_DIR}/sdbusplus-src && ./bootstrap.sh && ./configure
- --enable-transaction && make -j libsdbusplus.la INSTALL_COMMAND ""
+ ${CMAKE_BINARY_DIR}/sdbusplus-src && meson build -Ddefault_library=static
+ && ninja -C build libsdbusplus.a INSTALL_COMMAND ""
LOG_DOWNLOAD ON
)