Skip to content
Snippets Groups Projects
Commit 27ec7841 authored by Boroondas Gupte's avatar Boroondas Gupte
Browse files

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

(transplanted from 6ea6df364e22ba6f99b18a0e684ba4912f4f7223)
parent bd3d9e1b
No related branches found
No related tags found
No related merge requests found
...@@ -171,6 +171,7 @@ Boroondas Gupte ...@@ -171,6 +171,7 @@ Boroondas Gupte
SNOW-737 SNOW-737
VWR-233 VWR-233
VWR-20583 VWR-20583
VWR-20891
WEB-262 WEB-262
Bulli Schumann Bulli Schumann
CT-218 CT-218
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
project(login) project(login)
include(00-Common) include(00-Common)
include(LLAddBuildTest) if(LL_TESTS)
include(LLAddBuildTest)
endif(LL_TESTS)
include(LLCommon) include(LLCommon)
include(LLMath) include(LLMath)
include(LLXML) include(LLXML)
...@@ -43,14 +45,16 @@ target_link_libraries(lllogin ...@@ -43,14 +45,16 @@ target_link_libraries(lllogin
${PTH_LIBRARIES} ${PTH_LIBRARIES}
) )
SET(lllogin_TEST_SOURCE_FILES if(LL_TESTS)
SET(lllogin_TEST_SOURCE_FILES
lllogin.cpp
)
set_source_files_properties(
lllogin.cpp lllogin.cpp
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES "${PTH_LIBRARIES}"
) )
set_source_files_properties( LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
lllogin.cpp endif(LL_TESTS)
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES "${PTH_LIBRARIES}"
)
LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment