Permalink
Browse files

disable boost autolinking on windows

  • Loading branch information...
endyul committed Jun 4, 2017
1 parent 5c3bbfe commit e93434b04c4dd3f10149955978a2138bc0c4218b
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
View
@@ -14,6 +14,7 @@ elseif(MINGW)
set(CMAKE_CXX_FLAGS "-std=c++0x")
elseif(MSVC)
add_definitions(-D_WINDOWS) # make dynet happy at `dynet/mem.cc(7)`
add_definitions(-DBOOST_ALL_NO_LIB) # disable boost auto-linking on windows
set(CMAKE_CXX_FLAGS "/EHsc")
endif(APPLE)

0 comments on commit e93434b

Please sign in to comment.