From: Simon Rit Date: Tue, 17 May 2011 13:32:47 +0000 (+0200) Subject: Use vvLib also without testing activated X-Git-Tag: v1.2.1~28 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=53eea837a0c4517d44d5a9cf62e804c472b21492;p=clitk.git Use vvLib also without testing activated --- 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 +#=========================================================