summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-11-10 11:11:04 -0500
committerNat Goodspeed <nat@lindenlab.com>2021-11-19 14:43:19 -0500
commitbbf3f516bdd551a53b7dfc0affcb1a36e6680169 (patch)
tree36a43c396c3d99577239ad127ba7f7ebffdaf36f
parenta633efdc0b62f28f145ec26c2efa8dfc06a3729e (diff)
SL-16094: Only link IMM32.LIB for llurlentry tests on Windows.
-rw-r--r--indra/llui/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt
index 25ceb68b19..55c1655d7b 100644
--- a/indra/llui/CMakeLists.txt
+++ b/indra/llui/CMakeLists.txt
@@ -308,6 +308,10 @@ if(LL_TESTS)
${BOOST_FIBER_LIBRARY} ${BOOST_CONTEXT_LIBRARY} ${BOOST_SYSTEM_LIBRARY}
${WINDOWS_LIBRARIES})
if(NOT LINUX)
- LL_ADD_INTEGRATION_TEST(llurlentry llurlentry.cpp "imm32;${test_libs}")
+ if(WINDOWS)
+ LL_ADD_INTEGRATION_TEST(llurlentry llurlentry.cpp "imm32;${test_libs}")
+ else(WINDOWS)
+ LL_ADD_INTEGRATION_TEST(llurlentry llurlentry.cpp "${test_libs}")
+ endif(WINDOWS)
endif(NOT LINUX)
endif(LL_TESTS)