summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-12-14 19:33:10 -0500
committerNat Goodspeed <nat@lindenlab.com>2017-12-14 19:33:10 -0500
commit870008f15b60399af6971ea746bcf7a05a8ea1db (patch)
tree861343ebfb96bfd6befcf74fb2c9b5e3e6af06ff
parent867b5f5a904366810c614d7b3327f253e46e59ae (diff)
MAINT-8087: New LLDir_Win32 code requires ole32 in a few more places.
-rw-r--r--indra/test/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test/CMakeLists.txt b/indra/test/CMakeLists.txt
index 8344cead57..3f12431acc 100644
--- a/indra/test/CMakeLists.txt
+++ b/indra/test/CMakeLists.txt
@@ -73,6 +73,9 @@ if (NOT WINDOWS)
list(APPEND test_SOURCE_FILES
llmessagetemplateparser_tut.cpp
)
+ set(EXTRA_WINDOWS_LIBRARIES "")
+else (NOT WINDOWS)
+ set(EXTRA_WINDOWS_LIBRARIES ole32)
endif (NOT WINDOWS)
set_source_files_properties(${test_HEADER_FILES}
@@ -96,6 +99,7 @@ target_link_libraries(lltest
${GOOGLEMOCK_LIBRARIES}
${PTHREAD_LIBRARY}
${WINDOWS_LIBRARIES}
+ ${EXTRA_WINDOWS_LIBRARIES}
${BOOST_PROGRAM_OPTIONS_LIBRARY}
${BOOST_REGEX_LIBRARY}
${BOOST_COROUTINE_LIBRARY}