set(VERSION_MINOR 0)
set(VERSION_PATCH 0)
+# Update fg_version.h to match the versions number here in cmake
+CONFIGURE_FILE(src/fg_version.h.in src/fg_version.h)
# FREEGLUT_BUILD_SHARED_LIBS is already a standard CMake variable, but we need to
# re-declare it here so it will show up in the GUI.
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)