summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/cmake/LLAddBuildTest.cmake2
-rw-r--r--indra/newview/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/LLAddBuildTest.cmake b/indra/cmake/LLAddBuildTest.cmake
index 983b0bc3a9..0a20a2c068 100644
--- a/indra/cmake/LLAddBuildTest.cmake
+++ b/indra/cmake/LLAddBuildTest.cmake
@@ -209,7 +209,7 @@ FUNCTION(LL_ADD_INTEGRATION_TEST
)
if (WINDOWS)
- list(APPEND libraries legacy_stdio_definitions)
+ list(INSERT libraries 0 legacy_stdio_definitions)
endif (WINDOWS)
# Add test executable build target
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 3ba6767082..2ad969a705 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1978,7 +1978,7 @@ endif (WINDOWS)
# modern version.
if (WINDOWS)
- list(APPEND LLAPPEARANCE_LIBRARIES legacy_stdio_definitions)
+ list(INSERT PNG_PRELOAD_ARCHIVES 0 legacy_stdio_definitions)
endif (WINDOWS)
target_link_libraries(${VIEWER_BINARY_NAME}