SL-16094: Only link IMM32.LIB for llurlentry tests on Windows.

meow-7.2.2
Nat Goodspeed 2021-11-10 11:11:04 -05:00
parent 1a39a8f7d9
commit 69a39dce0b
1 changed files with 5 additions and 1 deletions

View File

@ -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)