summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorChristian Goetze (CG) <cg@lindenlab.com>2010-08-18 19:30:59 -0700
committerChristian Goetze (CG) <cg@lindenlab.com>2010-08-18 19:30:59 -0700
commit7545d6209afd8efbf9609beaefbf15719802e9d6 (patch)
treec0d357ab860edf229e830bb6ad5abe75b18d8af9 /indra/llui
parent03813fe2192e1df7b8fb67d3a2fa97e92f69464b (diff)
parent2977cbb741e2d3ae78034e73a5257cf6cf1792c6 (diff)
Merged: Enable Coverity, Separate out debug and release builds for faster turnaround.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/CMakeLists.txt16
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)