diff options
author | Subv <subv2112@gmail.com> | 2014-07-06 17:03:54 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2014-07-06 17:04:42 -0500 |
commit | 77caf33debab6153da46da11ff8aff5142b42b2a (patch) | |
tree | d8f21b5a64089c03b4f9cdc373b5f7c14286674c /cmake/macros | |
parent | 59c8ffe4b3fec5979926d991c17cae84b41e46e2 (diff) |
Removed some unneeded boost dependencies.
Ensure that the correct packet sizes are read in the authserver.
Added some try catch to the authserver to deal with boost exceptions (this part is not finished)
Diffstat (limited to 'cmake/macros')
-rw-r--r-- | cmake/macros/ConfigureBoost.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/macros/ConfigureBoost.cmake b/cmake/macros/ConfigureBoost.cmake index 8ade7a0db5b..0e654ada86d 100644 --- a/cmake/macros/ConfigureBoost.cmake +++ b/cmake/macros/ConfigureBoost.cmake @@ -27,7 +27,9 @@ if(WIN32) add_definitions(-D_WIN32_WINNT=${ver})
endif()
-find_package(Boost 1.55 REQUIRED atomic chrono date_time exception regex system thread)
+find_package(Boost 1.55 REQUIRED system thread)
+add_definitions(-DBOOST_DATE_TIME_NO_LIB)
+add_definitions(-DBOOST_REGEX_NO_LIB)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
|