From 53eea837a0c4517d44d5a9cf62e804c472b21492 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Tue, 17 May 2011 15:32:47 +0200 Subject: [PATCH] Use vvLib also without testing activated --- vv/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 4d5c36b..90b3a69 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -201,10 +201,9 @@ SET(foundationLibraries clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) SET(vvExternalLibs clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries} CACHE INTERNAL DOCSTRING) ADD_EXECUTABLE(vv ${vv_SRCS} vv.cxx ${vv_UI_CXX} ${EXE_ICON}) ADD_DEPENDENCIES(vv clitkSegmentationGgoLib) -IF(BUILD_TESTING) - target_link_libraries(vv ${vvExternalLibs}) - add_library(vvLib ${vv_SRCS} vv.cxx ${vv_UI_CXX} ${EXE_ICON}) -ENDIF(BUILD_TESTING) +target_link_libraries(vv ${vvExternalLibs}) +add_library(vvLib ${vv_SRCS} vv.cxx ${vv_UI_CXX} ${EXE_ICON}) + #========================================================= # Install options (also used by CPack) IF(UNIX AND NOT APPLE) @@ -263,4 +262,4 @@ INCLUDE(CPack) #========================================================= #========================================================= configure_file(vvCommon.h.in vvCommon.h) -#========================================================= \ No newline at end of file +#========================================================= -- 2.45.1