Merge pull request #118 from mditzel/master

Fix for issue #117.
This commit is contained in:
Pieter Hintjens 2015-05-28 11:08:22 +02:00
commit cfcebb3605

View File

@ -264,12 +264,15 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
#-----------------------------------------------------------------------------
# platform specifics
if(MSVC OR MINGW)
# NB: May require tweaking for highly connected applications.
add_definitions(-DFD_SETSIZE=1024)
endif()
if(MSVC)
add_definitions(
-DWIN32
-DDLL_EXPORT
# NB: May require tweaking for highly connected applications.
-DFD_SETSIZE=1024
-D_CRT_SECURE_NO_WARNINGS)
# Parallel make.