Skip to content

Commit

Permalink
Merge pull request #118 from mditzel/master
Browse files Browse the repository at this point in the history
Fix for issue #117.
  • Loading branch information
hintjens committed May 28, 2015
2 parents 10c54d1 + 509c746 commit cfcebb3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cfcebb3

Please sign in to comment.