aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a87a03b9e..4f3806108 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,11 +150,11 @@ if((${Boost_MAJOR_VERSION} EQUAL 1) AND (${Boost_MINOR_VERSION} EQUAL 54))
endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW)
- set(Boost_LIBRARIES "${Boost_LIBRARIES};ws2_32;mswsock")
+ set(Boost_LIBRARIES "${Boost_LIBRARIES};pthread;mswsock;ws2_32")
elseif(APPLE OR FREEBSD)
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
elseif(NOT MSVC)
- set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
+ #set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
endif()
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/version")