summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnchor <none@none>2019-05-07 23:58:04 -0600
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 18:39:20 -0400
commit0ed3724c95eb8d3c1daf50657d53d68641d576df (patch)
tree6b396f432a633304b2e7d73004cf134a8357a409
parent554e12ef1565af8e97eefeb3ae5b58cf7c304263 (diff)
[DRTVWR-476] - add legacy_stdio_definitions
-rw-r--r--indra/cmake/LLCommon.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/LLCommon.cmake b/indra/cmake/LLCommon.cmake
index 8900419f9b..f56d1811d1 100644
--- a/indra/cmake/LLCommon.cmake
+++ b/indra/cmake/LLCommon.cmake
@@ -33,6 +33,10 @@ else (LINUX)
${BOOST_SYSTEM_LIBRARY} )
endif (LINUX)
+if (WINDOWS)
+ list(APPEND LLCOMMON_LIBRARIES legacy_stdio_definitions)
+endif (WINDOWS)
+
set(LLCOMMON_LINK_SHARED OFF CACHE BOOL "Build the llcommon target as a static library.")
if(LLCOMMON_LINK_SHARED)
add_definitions(-DLL_COMMON_LINK_SHARED=1)