]> Creatis software - clitk.git/commitdiff
The order of the libraries seemed to cause problem. Changed it...
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 15:13:33 +0000 (17:13 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 15:13:33 +0000 (17:13 +0200)
vv/CMakeLists.txt

index 1ddd5b83cdab95c5d7c3375a362e413331d6e42e..515422bc3c5b316906349ec137c4d001de7478c0 100644 (file)
@@ -203,9 +203,8 @@ SET(foundationLibraries clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid)
 
 #=========================================================
 #Create binary and libs for tests
-SET(vvExternalLibs clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries})
+SET(vvExternalLibs ${QT_QTNETWORK_LIBRARY} clitkSegmentationGgoLib clitkDicomRTStruct ${toolLibs} ${foundationLibraries})
 # QtNetwork is required by vvRegisterForm
-SET(vvExternalLibs ${vvExternalLibs} ${QT_QTNETWORK_LIBRARY})
 
 ADD_LIBRARY(vvLib ${vv_SRCS} ${vv_UI_CXX})
 TARGET_LINK_LIBRARIES(vvLib ${vvExternalLibs})