summary refs log tree commit diff
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-05-08 22:57:21 -0400
committerredsky17 <joedonofry@gmail.com>2019-05-08 22:57:21 -0400
commit4b7e9f7746cddddff56e39987a9bd1b1e4fedff1 (patch)
tree7eb4977a8d963e3cb0037146ad506954a1122ffc
parentUpdate mtxclient ver (diff)
downloadnheko-4b7e9f7746cddddff56e39987a9bd1b1e4fedff1.tar.xz
link boost dynamically
-rw-r--r--CMakeLists.txt3
-rw-r--r--deps/cmake/Boost.cmake2
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt

index 352542a1..e1f2a7c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -104,7 +104,8 @@ if(NOT MSVC) -pedantic \ -fsized-deallocation \ -fdiagnostics-color=always \ - -Wunreachable-code" + -Wunreachable-code \ + -std=c++14" ) if (NOT CMAKE_COMPILER_IS_GNUCXX) # -Wshadow is buggy and broken in GCC, so do not enable it. diff --git a/deps/cmake/Boost.cmake b/deps/cmake/Boost.cmake
index 27dc0c21..47eb723b 100644 --- a/deps/cmake/Boost.cmake +++ b/deps/cmake/Boost.cmake
@@ -16,7 +16,7 @@ ExternalProject_Add( CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/boost/bootstrap.sh --with-libraries=random,thread,system,iostreams,atomic,chrono,date_time,regex --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 )