mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
link boost dynamically
This commit is contained in:
parent
eeb8fff2b5
commit
4b7e9f7746
2 changed files with 3 additions and 2 deletions
|
@ -104,7 +104,8 @@ if(NOT MSVC)
|
||||||
-pedantic \
|
-pedantic \
|
||||||
-fsized-deallocation \
|
-fsized-deallocation \
|
||||||
-fdiagnostics-color=always \
|
-fdiagnostics-color=always \
|
||||||
-Wunreachable-code"
|
-Wunreachable-code \
|
||||||
|
-std=c++14"
|
||||||
)
|
)
|
||||||
if (NOT CMAKE_COMPILER_IS_GNUCXX)
|
if (NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||||
# -Wshadow is buggy and broken in GCC, so do not enable it.
|
# -Wshadow is buggy and broken in GCC, so do not enable it.
|
||||||
|
|
2
deps/cmake/Boost.cmake
vendored
2
deps/cmake/Boost.cmake
vendored
|
@ -16,7 +16,7 @@ ExternalProject_Add(
|
||||||
CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/boost/bootstrap.sh
|
CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/boost/bootstrap.sh
|
||||||
--with-libraries=random,thread,system,iostreams,atomic,chrono,date_time,regex
|
--with-libraries=random,thread,system,iostreams,atomic,chrono,date_time,regex
|
||||||
--prefix=${DEPS_INSTALL_DIR}
|
--prefix=${DEPS_INSTALL_DIR}
|
||||||
BUILD_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 cxxstd=14 variant=release link=static threading=multi --layout=system
|
BUILD_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 cxxstd=14 variant=release link=shared runtime-link=shared threading=multi --layout=system
|
||||||
INSTALL_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 install
|
INSTALL_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 install
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue