]> Creatis software - clitk.git/commitdiff
QtNetwork is a required dependency of vvRegisterForm
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 14 Jun 2011 13:36:30 +0000 (15:36 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 14 Jun 2011 13:36:30 +0000 (15:36 +0200)
vv/CMakeLists.txt

index f20765db15245d06d899cfe091f7541e60f6a627..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})
@@ -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)
 
 
 #=========================================================