From a758263384e14fc3c56903ea17bc170ccec47fde Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Tue, 14 Jun 2011 15:36:30 +0200 Subject: [PATCH] QtNetwork is a required dependency of vvRegisterForm --- vv/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) #========================================================= -- 2.45.1