]> Creatis software - clitk.git/blobdiff - vv/CMakeLists.txt
QtNetwork is a required dependency of vvRegisterForm
[clitk.git] / vv / CMakeLists.txt
index 34396de5fab977203fe4bc1f17c6c66990b47af6..4a98cbf17b1b6a306eb23892b6eb1fe4ddb126a4 100644 (file)
@@ -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})
@@ -214,6 +216,7 @@ ELSE(WIN32)
   ADD_EXECUTABLE(vv vv.cxx)
 ENDIF(WIN32)
 
+#TARGET_LINK_LIBRARIES(vv vvLib)
 TARGET_LINK_LIBRARIES(vv vvLib)