Skip to content

Commit

Permalink
Remove compile option setting Windows version.
Browse files Browse the repository at this point in the history
It is not the job of a generic build script to decide which
version(s) of an OS we are compiling for.

See #196.
  • Loading branch information
joto committed Feb 15, 2017
1 parent ab82364 commit a6f886f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ else()
endif()

if(WIN32)
add_definitions(-DWIN32 -D_WIN32 -DMSWIN32 -DBGDWIN32
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0600)
add_definitions(-DWIN32 -D_WIN32 -DMSWIN32 -DBGDWIN32)
endif()

set(CMAKE_CXX_FLAGS_DEV "${USUAL_COMPILE_OPTIONS}"
Expand Down

0 comments on commit a6f886f

Please sign in to comment.