summaryrefslogtreecommitdiff
path: root/indra/cmake/LLAddBuildTest.cmake
diff options
context:
space:
mode:
authorAnchor <none@none>2019-05-08 17:37:05 -0600
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 18:39:20 -0400
commite039f5e29ee02c37d2febc21b492a0d425661897 (patch)
tree561f82dbc04fcba13992ab777928551865cfac30 /indra/cmake/LLAddBuildTest.cmake
parent0ed3724c95eb8d3c1daf50657d53d68641d576df (diff)
[DRTVWR-476] - legacy_stdio_definitions shld be the last library linked
Diffstat (limited to 'indra/cmake/LLAddBuildTest.cmake')
-rw-r--r--indra/cmake/LLAddBuildTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/LLAddBuildTest.cmake b/indra/cmake/LLAddBuildTest.cmake
index ee6396e473..983b0bc3a9 100644
--- a/indra/cmake/LLAddBuildTest.cmake
+++ b/indra/cmake/LLAddBuildTest.cmake
@@ -208,6 +208,10 @@ FUNCTION(LL_ADD_INTEGRATION_TEST
${PTHREAD_LIBRARY}
)
+ if (WINDOWS)
+ list(APPEND libraries legacy_stdio_definitions)
+ endif (WINDOWS)
+
# Add test executable build target
if(TEST_DEBUG)
message(STATUS "ADD_EXECUTABLE(INTEGRATION_TEST_${testname} ${source_files})")