diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-08-18 17:41:36 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-08-18 17:41:36 +0100 |
commit | 855192a83b908bb2812a6faeeec11da1dcb95cd7 (patch) | |
tree | 8b00003a82d5b8b1a7b2412fc96a4102751c3821 /indra/llui/CMakeLists.txt | |
parent | 5bb7cbc663f77f6e75b8acac7ac4ec1fb346737d (diff) |
VWR-20768 (SNOW-507) FIXED Missing LL_TEST conditions in cmake files
Diffstat (limited to 'indra/llui/CMakeLists.txt')
-rw-r--r-- | indra/llui/CMakeLists.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt index 12df9ccae4..8e78a5fefd 100644 --- a/indra/llui/CMakeLists.txt +++ b/indra/llui/CMakeLists.txt @@ -240,10 +240,12 @@ target_link_libraries(llui ${LLCOMMON_LIBRARIES} # must be after llimage, llwindow, llrender ) -# Add tests -include(LLAddBuildTest) -SET(llui_TEST_SOURCE_FILES - llurlmatch.cpp - llurlentry.cpp - ) -LL_ADD_PROJECT_UNIT_TESTS(llui "${llui_TEST_SOURCE_FILES}") +if(LL_TESTS) + # Add tests + include(LLAddBuildTest) + SET(llui_TEST_SOURCE_FILES + llurlmatch.cpp + llurlentry.cpp + ) + LL_ADD_PROJECT_UNIT_TESTS(llui "${llui_TEST_SOURCE_FILES}") +endif(LL_TESTS) |