aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r--linden/indra/cmake/00-Common.cmake13
1 files changed, 9 insertions, 4 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 1177fc2..6a97391 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -24,6 +24,11 @@ list(REMOVE_DUPLICATES TYPES)
24set(CMAKE_CONFIGURATION_TYPES ${TYPES} CACHE STRING "Supported build types." FORCE) 24set(CMAKE_CONFIGURATION_TYPES ${TYPES} CACHE STRING "Supported build types." FORCE)
25unset(TYPES) 25unset(TYPES)
26 26
27# Work around nmake / VS difference.
28set(VIEWER_CFG_INTDIR ${CMAKE_CFG_INTDIR})
29if (NMAKE)
30 set(VIEWER_CFG_INTDIR ${CMAKE_BUILD_TYPE})
31endif(NMAKE)
27 32
28# Determine the number of bits of this processor 33# Determine the number of bits of this processor
29 34
@@ -68,7 +73,6 @@ if (WINDOWS)
68 /DUNICODE 73 /DUNICODE
69 /D_UNICODE 74 /D_UNICODE
70 /GS 75 /GS
71 /TP
72 /W3 76 /W3
73 /c 77 /c
74 /Zc:forScope 78 /Zc:forScope
@@ -95,9 +99,10 @@ if (WINDOWS)
95 endif (MSVC80 OR MSVC90) 99 endif (MSVC80 OR MSVC90)
96 100
97 # Are we using the crummy Visual Studio KDU build workaround? 101 # Are we using the crummy Visual Studio KDU build workaround?
98 if (NOT VS_DISABLE_FATAL_WARNINGS) 102 # FIXME: Let's just disable this for now, see if it's needed, coz I have no idea what that work around is about.
99 add_definitions(/WX) 103# if (NOT VS_DISABLE_FATAL_WARNINGS)
100 endif (NOT VS_DISABLE_FATAL_WARNINGS) 104# add_definitions(/WX)
105# endif (NOT VS_DISABLE_FATAL_WARNINGS)
101endif (WINDOWS) 106endif (WINDOWS)
102 107
103 108