From: Simon Rit Date: Tue, 14 Jun 2011 13:36:30 +0000 (+0200) Subject: QtNetwork is a required dependency of vvRegisterForm X-Git-Tag: v1.3.0~318^2~11 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a758263384e14fc3c56903ea17bc170ccec47fde;p=clitk.git QtNetwork is a required dependency of vvRegisterForm --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index f20765d..4a98cbf 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -204,6 +204,8 @@ SET(foundationLibraries clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) #========================================================= #Create binary and libs for tests SET(vvExternalLibs clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries}) +# QtNetwork is required by vvRegisterForm +SET(vvExternalLibs ${vvExternalLibs} QtNetwork) ADD_LIBRARY(vvLib ${vv_SRCS} ${vv_UI_CXX}) TARGET_LINK_LIBRARIES(vvLib ${vvExternalLibs}) @@ -215,8 +217,7 @@ ELSE(WIN32) ENDIF(WIN32) #TARGET_LINK_LIBRARIES(vv vvLib) -# QtNetwork added specifically for Fedora build -TARGET_LINK_LIBRARIES(vv vvLib QtNetwork) +TARGET_LINK_LIBRARIES(vv vvLib) #=========================================================