diff options
author | David Walter Seikel | 2014-02-03 15:23:22 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-02-03 15:23:22 +1000 |
commit | d056a17f05a1f90708f554651475e116a2ddbd68 (patch) | |
tree | 07fa4f1cca2a25548b8d2d6b4752b07d8efbd2ff /linden/indra/cmake/00-Common.cmake | |
parent | Updating tree and volume LOD. These go to eleven. (diff) | |
parent | Fix up OTR prefs to not crash. (diff) | |
download | meta-impy-next.zip meta-impy-next.tar.gz meta-impy-next.tar.bz2 meta-impy-next.tar.xz |
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 13 |
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) | |||
24 | set(CMAKE_CONFIGURATION_TYPES ${TYPES} CACHE STRING "Supported build types." FORCE) | 24 | set(CMAKE_CONFIGURATION_TYPES ${TYPES} CACHE STRING "Supported build types." FORCE) |
25 | unset(TYPES) | 25 | unset(TYPES) |
26 | 26 | ||
27 | # Work around nmake / VS difference. | ||
28 | set(VIEWER_CFG_INTDIR ${CMAKE_CFG_INTDIR}) | ||
29 | if (NMAKE) | ||
30 | set(VIEWER_CFG_INTDIR ${CMAKE_BUILD_TYPE}) | ||
31 | endif(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) | ||
101 | endif (WINDOWS) | 106 | endif (WINDOWS) |
102 | 107 | ||
103 | 108 | ||