summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2010-06-30 17:31:04 -0700
committerbrad kittenbrink <brad@lindenlab.com>2010-06-30 17:31:04 -0700
commit07f94c9a614223a4e44e122ced93ab37f4862adb (patch)
treefaf37b21cf8394160e2a11d663891a4155c62419 /indra
parent6ee19aedf393906aec1d19abe0752f9307599165 (diff)
parentfed730b0eef0a528e9d20d946ea397d67cf46fe5 (diff)
Automated merge with ssh://hg.lindenlab.com/brad/viewer-dev
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/00-Common.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 592e9fc901..a114d6e778 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -74,6 +74,10 @@ if (WINDOWS)
if (NOT VS_DISABLE_FATAL_WARNINGS)
add_definitions(/WX)
endif (NOT VS_DISABLE_FATAL_WARNINGS)
+
+ # configure win32 API for windows XP+ compatibility
+ set(WINVER "0x0501" CACHE STRING "Win32 API Target version (see http://msdn.microsoft.com/en-us/library/aa383745%28v=VS.85%29.aspx)")
+ add_definitions("/DWINVER=${WINVER}" "/D_WIN32_WINNT=${WINVER}")
endif (WINDOWS)