diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2019-05-22 22:06:45 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2019-05-22 22:06:45 -0400 |
commit | e52f29a7547e0b0df9594b6a414384b861d7957e (patch) | |
tree | e1b2e8e3f55e6aaf0425b09c10252d1140d8ba6a /deps/cmake/MatrixClient.cmake | |
parent | Update mtxclient version and build args (diff) | |
download | nheko-e52f29a7547e0b0df9594b6a414384b861d7957e.tar.xz |
Minor build tweaks
Diffstat (limited to '')
-rw-r--r-- | deps/cmake/MatrixClient.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/cmake/MatrixClient.cmake b/deps/cmake/MatrixClient.cmake index b2c570ab..44992c0b 100644 --- a/deps/cmake/MatrixClient.cmake +++ b/deps/cmake/MatrixClient.cmake @@ -13,6 +13,12 @@ endif() # instead of the bundled version of Boost, like we wanted. set(BOOST_BUNDLE_ROOT "-DBOOST_ROOT=${DEPS_BUILD_DIR}/boost") +set (MTX_SHARED ON) + +if (MTX_STATIC) + set (MTX_SHARED OFF) +endif() + ExternalProject_Add( MatrixClient @@ -28,7 +34,7 @@ ExternalProject_Add( -DBUILD_LIB_EXAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} ${BOOST_BUNDLE_ROOT} - -DBUILD_SHARED_LIBS=${MTX_STATIC} + -DBUILD_SHARED_LIBS=${MTX_SHARED} ${PLATFORM_FLAGS} ${DEPS_BUILD_DIR}/mtxclient BUILD_COMMAND |