From 4c59d5310ca731b1f16d7c1b31f961665dd508a9 Mon Sep 17 00:00:00 2001 From: schaerer Date: Thu, 14 Oct 2010 13:33:00 +0000 Subject: [PATCH] fix linking problem --- vv/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.45.1