Skip to content
Snippets Groups Projects
Commit 8e6bea61 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-5351: llupdaterservice_test now needs Boost System library.

parent f1be78f7
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ include(00-Common) ...@@ -6,6 +6,7 @@ include(00-Common)
if(LL_TESTS) if(LL_TESTS)
include(LLAddBuildTest) include(LLAddBuildTest)
endif(LL_TESTS) endif(LL_TESTS)
include(Boost)
include(CMakeCopyIfDifferent) include(CMakeCopyIfDifferent)
include(CURL) include(CURL)
include(LLCommon) include(LLCommon)
...@@ -72,14 +73,16 @@ if(LL_TESTS) ...@@ -72,14 +73,16 @@ if(LL_TESTS)
llupdaterservice.cpp llupdaterservice.cpp
) )
set_source_files_properties(
llupdaterservice.cpp
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES "${BOOST_SYSTEM_LIBRARY}"
# *NOTE:Mani - I was trying to use the preprocessor seam to mock out # *NOTE:Mani - I was trying to use the preprocessor seam to mock out
# llifstream (and other) llcommon classes. I didn't work # llifstream (and other) llcommon classes. It didn't work
# because of the windows declspec(dllimport)attribute. # because of the windows declspec(dllimport)attribute.
#set_source_files_properties( # LL_TEST_ADDITIONAL_CFLAGS "-Dllifstream=llus_mock_llifstream"
# llupdaterservice.cpp )
# PROPERTIES
# LL_TEST_ADDITIONAL_CFLAGS "-Dllifstream=llus_mock_llifstream"
# )
LL_ADD_PROJECT_UNIT_TESTS(llupdaterservice "${llupdater_service_TEST_SOURCE_FILES}") LL_ADD_PROJECT_UNIT_TESTS(llupdaterservice "${llupdater_service_TEST_SOURCE_FILES}")
endif(LL_TESTS) endif(LL_TESTS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment