diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-02-16 20:16:22 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-16 20:16:22 +0100 |
commit | 3248d7844bc5e2285cccd39f762e72fb497004bb (patch) | |
tree | 9635bf9d406fc45133e3aa40d0c8d6d07ee432df | |
parent | f1ddad7dbd9b61517b5a28427bc3a1be835f79ff (diff) |
Build: Never automatically link any boost library with a #pragma comment(linker) encountered in boost headers
-rw-r--r-- | dep/boost/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index 80c6c773a1f..81ff5c04761 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -65,10 +65,7 @@ target_include_directories(boost target_compile_definitions(boost INTERFACE - -DBOOST_DATE_TIME_NO_LIB - -DBOOST_REGEX_NO_LIB - -DBOOST_CHRONO_NO_LIB - -DBOOST_SERIALIZATION_NO_LIB + -DBOOST_ALL_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBOOST_ASIO_NO_DEPRECATED -DBOOST_BIND_NO_PLACEHOLDERS |