Skip to content
Permalink
Browse files

keep MSVC win32 defs

  • Loading branch information...
rt
rt committed Apr 27, 2019
1 parent f5ddb2f commit 0516d9dd8fc7a76609b7b137bfa9236b6192e360
Showing with 4 additions and 1 deletion.
  1. +4 −1 CMakeLists.txt
@@ -156,7 +156,10 @@ else (UNIX AND NOT MINGW)
add_definitions(-DWIN32)
endif()

if(NOT MSVC)
if(MSVC)
add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN)
set(EXE_FLAGS WIN32)
else
include_directories(rts/lib/mingw-std-threads)
endif()
endif (UNIX AND NOT MINGW)

0 comments on commit 0516d9d

Please sign in to comment.
You can’t perform that action at this time.