Skip to content

Commit

Permalink
fix wrong format of add_definitions in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
endyul committed Jun 4, 2017
1 parent e3ac0d4 commit 5c3bbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ elseif(UNIX)
elseif(MINGW)
set(CMAKE_CXX_FLAGS "-std=c++0x")
elseif(MSVC)
add_definitions(-_WINDOWS=1) # make dynet happy at `dynet/mem.cc(7)`
add_definitions(-D_WINDOWS) # make dynet happy at `dynet/mem.cc(7)`
set(CMAKE_CXX_FLAGS "/EHsc")
endif(APPLE)

Expand Down

0 comments on commit 5c3bbfe

Please sign in to comment.