summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorBennett Goble <signal@lindenlab.com>2023-03-31 13:09:57 -0700
committerBennett Goble <signal@lindenlab.com>2023-04-05 15:44:24 -0700
commit6926368ff8fda01db062314801ce2b71d86ad02c (patch)
treeae957e2ef93ae54e49bd3cf13b97daa5b92f3314 /indra/cmake/00-Common.cmake
parentb09f61f6bfe8fdaaff2693180af8b7b26d3a9176 (diff)
SL-18839: Add basic Github build
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r--indra/cmake/00-Common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 9535e62e8f..58a64a8755 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -61,7 +61,7 @@ if (WINDOWS)
# CP changed to only append the flag for 32bit builds - on 64bit builds,
# locally at least, the build output is spammed with 1000s of 'D9002'
# warnings about this switch being ignored.
- if( ADDRESS_SIZE EQUAL 32 )
+ if(ADDRESS_SIZE EQUAL 32 AND DEFINED ENV{"TEAMCITY_PROJECT_NAME"})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /p:PreferredToolArchitecture=x64")
endif()
# zlib has assembly-language object files incompatible with SAFESEH