Skip to content

Commit 981ec18

Browse files
committed
Windows Boost: disable auto-link
1 parent 2775396 commit 981ec18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ find_package( OpenSSL )
3434
find_package( Threads )
3535
set(CMAKE_VERBOSE_MAKEFILE true)
3636

37+
add_definitions(-DBOOST_ALL_NO_LIB)
38+
3739
if (CMAKE_BUILD_TYPE MATCHES Debug)
3840
add_definitions(-DBOOST_NETWORK_DEBUG)
3941
endif()

0 commit comments

Comments
 (0)