summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-09-30 15:57:19 -0500
committerDave Parks <davep@lindenlab.com>2010-09-30 15:57:19 -0500
commit761cbd5693acc68f3590bbdf6fcdc9b446624cfe (patch)
tree2a5f89c7f51b9f83da7d0f04009500dcfd60484f /indra/llui
parentd0e32770d75980f7a2d4f22006fa98229abae407 (diff)
parent295de1a5372cf70563a6f25313c17f26bd05b039 (diff)
merge
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/CMakeLists.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt
index c59ef7819c..2c68f8cf75 100644
--- a/indra/llui/CMakeLists.txt
+++ b/indra/llui/CMakeLists.txt
@@ -242,9 +242,11 @@ target_link_libraries(llui
)
# 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)
+ include(LLAddBuildTest)
+ SET(llui_TEST_SOURCE_FILES
+ llurlmatch.cpp
+ llurlentry.cpp
+ )
+ LL_ADD_PROJECT_UNIT_TESTS(llui "${llui_TEST_SOURCE_FILES}")
+endif (LL_TESTS) \ No newline at end of file