X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=CMakeLists.txt;h=0227a950481376dd96fa8b0fbd914d3f6e80bb84;hb=a91c4e11d70265093dc3a7c15ed3f1b07883e9df;hp=7cd2afc188f77e8e268f633876c66f46f1a9f500;hpb=223d7dc01950904a061a1151955f24c4a098c3e4;p=freeglut diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cd2afc..0227a95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -228,6 +228,9 @@ IF(WIN32) SET( CMAKE_DEBUG_POSTFIX "d" ) ENDIF(MSVC) + # enable the use of Win2000 APIs (needed for really old compilers like MSVC6) + ADD_DEFINITIONS(-D_WIN32_WINNT=0x0500) + ADD_DEFINITIONS(-DWINVER=0x0500) ENDIF() IF(CMAKE_COMPILER_IS_GNUCC)