From 390d94ec97f52bf96a69dd7a698063c1e1f04bb2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 20 Sep 2011 14:59:01 -0700 Subject: Define _WIN32_WINNT on the command line with _WIN32 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3783a176..63287dfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ OPTION(ALSOFT_CONFIG "Install alsoft.conf configuration file" OFF) IF(WIN32) SET(LIBNAME OpenAL32) - ADD_DEFINITIONS("-D_WIN32") + ADD_DEFINITIONS("-D_WIN32 -D_WIN32_WINNT=0x0500") ELSE() SET(LIBNAME openal) ENDIF() -- cgit v1.2.3