VWR-20891 FIXED missing LL_TEST conditions in indra/viewer_components/login/CMakeLists.txt

(transplanted from 6ea6df364e22ba6f99b18a0e684ba4912f4f7223)
meow-7.2.2
Boroondas Gupte 2010-08-29 16:43:08 +02:00
parent bd3d9e1ba9
commit 27ec784127
2 changed files with 14 additions and 9 deletions

View File

@ -171,6 +171,7 @@ Boroondas Gupte
SNOW-737
VWR-233
VWR-20583
VWR-20891
WEB-262
Bulli Schumann
CT-218

View File

@ -3,7 +3,9 @@
project(login)
include(00-Common)
include(LLAddBuildTest)
if(LL_TESTS)
include(LLAddBuildTest)
endif(LL_TESTS)
include(LLCommon)
include(LLMath)
include(LLXML)
@ -43,14 +45,16 @@ target_link_libraries(lllogin
${PTH_LIBRARIES}
)
SET(lllogin_TEST_SOURCE_FILES
if(LL_TESTS)
SET(lllogin_TEST_SOURCE_FILES
lllogin.cpp
)
set_source_files_properties(
lllogin.cpp
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES "${PTH_LIBRARIES}"
)
set_source_files_properties(
lllogin.cpp
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES "${PTH_LIBRARIES}"
)
LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
endif(LL_TESTS)