diff options
author | Dave Parks <davep@lindenlab.com> | 2010-09-27 15:20:27 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-09-27 15:20:27 -0500 |
commit | 7c2b9221d6678ea7a04f529efaa2e557abce504d (patch) | |
tree | ba0095eaad5cd0e95577051222953e4c773beac4 /indra/llplugin/CMakeLists.txt | |
parent | e6688f993f82d2683e3eadce96c893959c94be2d (diff) | |
parent | db85c5b327f872ba321f66726fb05b4b3c3af883 (diff) |
merge
Diffstat (limited to 'indra/llplugin/CMakeLists.txt')
-rw-r--r-- | indra/llplugin/CMakeLists.txt | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/indra/llplugin/CMakeLists.txt b/indra/llplugin/CMakeLists.txt index fdd510b389..441becbae0 100644 --- a/indra/llplugin/CMakeLists.txt +++ b/indra/llplugin/CMakeLists.txt @@ -57,21 +57,18 @@ add_library (llplugin ${llplugin_SOURCE_FILES}) add_subdirectory(slplugin) -if (LL_TESTS) - # Add tests - include(LLAddBuildTest) +# Add tests +include(LLAddBuildTest) +# UNIT TESTS +SET(llplugin_TEST_SOURCE_FILES + llplugincookiestore.cpp + ) - # UNIT TESTS - SET(llplugin_TEST_SOURCE_FILES - llplugincookiestore.cpp - ) +# llplugincookiestore has a dependency on curl, so we need to link the curl library into the test. +set_source_files_properties( + llplugincookiestore.cpp + PROPERTIES + LL_TEST_ADDITIONAL_LIBRARIES "${CURL_LIBRARIES}" + ) - # llplugincookiestore has a dependency on curl, so we need to link the curl library into the test. - set_source_files_properties( - llplugincookiestore.cpp - PROPERTIES - LL_TEST_ADDITIONAL_LIBRARIES "${CURL_LIBRARIES}" - ) - - LL_ADD_PROJECT_UNIT_TESTS(llplugin "${llplugin_TEST_SOURCE_FILES}") -endif (LL_TESTS) +LL_ADD_PROJECT_UNIT_TESTS(llplugin "${llplugin_TEST_SOURCE_FILES}") |