CMake build: Asio is now used header-only, remove definitions saying otherwise.
This commit is contained in:
parent
fc5ed962a8
commit
a3316ec49d
|
@ -39,11 +39,9 @@ else()
|
||||||
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
|
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(LibtorrentRasterbar_USE_STATIC_LIBS)
|
if(NOT LibtorrentRasterbar_USE_STATIC_LIBS)
|
||||||
list(APPEND LibtorrentRasterbar_DEFINITIONS -DBOOST_ASIO_SEPARATE_COMPILATION)
|
|
||||||
else()
|
|
||||||
list(APPEND LibtorrentRasterbar_DEFINITIONS
|
list(APPEND LibtorrentRasterbar_DEFINITIONS
|
||||||
-DTORRENT_LINKING_SHARED -DBOOST_ASIO_DYN_LINK
|
-DTORRENT_LINKING_SHARED
|
||||||
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
|
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue