From: Simon Rit Date: Thu, 16 Jun 2011 15:13:33 +0000 (+0200) Subject: The order of the libraries seemed to cause problem. Changed it... X-Git-Tag: v1.3.0~318^2~5 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5c03d2dbd2e9cd0c4c071c438de95147b5f8ea2e;p=clitk.git The order of the libraries seemed to cause problem. Changed it... --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 1ddd5b8..515422b 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -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})