CMake build: Asio is now used header-only, remove definitions saying otherwise.

This commit is contained in:
Jakob Petsovits 2015-11-02 14:17:59 -05:00
parent fc5ed962a8
commit a3316ec49d
1 changed files with 2 additions and 4 deletions

View File

@ -39,11 +39,9 @@ else()
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
endif()
if(LibtorrentRasterbar_USE_STATIC_LIBS)
list(APPEND LibtorrentRasterbar_DEFINITIONS -DBOOST_ASIO_SEPARATE_COMPILATION)
else()
if(NOT LibtorrentRasterbar_USE_STATIC_LIBS)
list(APPEND LibtorrentRasterbar_DEFINITIONS
-DTORRENT_LINKING_SHARED -DBOOST_ASIO_DYN_LINK
-DTORRENT_LINKING_SHARED
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
endif()
endif()