From: schaerer Date: Thu, 14 Oct 2010 13:33:00 +0000 (+0000) Subject: fix linking problem X-Git-Tag: v1.2.0~344 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=4c59d5310ca731b1f16d7c1b31f961665dd508a9;p=clitk.git fix linking problem --- diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 86fc064..e76b094 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -199,7 +199,7 @@ clitkBinarizeImageLib #Libs for _ggo.c files clitkSegmentationGgoLib clitkToolsGgoLib clitkRegistrationGgoLib -clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) +) #========================================================= #Add each tool's dependencies @@ -207,6 +207,12 @@ foreach(tool ${vv_TOOLS}) target_link_libraries(vv ${${tool}_LIBS}) endforeach(tool) +#========================================================= +#Add Foundation Libraries (this should be after our libraries, since we depend +#on them) +TARGET_LINK_LIBRARIES(vv +clitkCommon ${ITK_LIBRARIES} QVTK vtkHybrid) + #========================================================= # Install options (also used by CPack) IF(UNIX AND NOT APPLE)