From: David Sarrut Date: Wed, 12 Jun 2013 14:55:53 +0000 (+0200) Subject: Remove not needed library dep X-Git-Tag: v1.4.0~208 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6489ed52f8fc131525bd3c3515ab5f78cf7f7323;p=clitk.git Remove not needed library dep --- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 319908b..1db0dcc 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -271,7 +271,7 @@ IF (CLITK_BUILD_TOOLS) IF(CLITK_EXPERIMENTAL) WRAP_GGO(clitkBinaryImageToMesh_GGO_C clitkBinaryImageToMesh.ggo) ADD_EXECUTABLE(clitkBinaryImageToMesh clitkBinaryImageToMesh.cxx ${clitkBinaryImageToMesh_GGO_C}) - TARGET_LINK_LIBRARIES(clitkBinaryImageToMesh itksys ${ITK_LIBRARIES} ${VTK_LIBRARIES}) + TARGET_LINK_LIBRARIES(clitkBinaryImageToMesh clitkCommon) SET(TOOLS_INSTALL ${TOOLS_INSTALL} clitkBinaryImageToMesh) WRAP_GGO(clitkMeshToBinaryImage_GGO_C clitkMeshToBinaryImage.ggo) @@ -281,7 +281,7 @@ IF (CLITK_BUILD_TOOLS) WRAP_GGO(clitkMeshViewer_GGO_C clitkMeshViewer.ggo) ADD_EXECUTABLE(clitkMeshViewer clitkMeshViewer.cxx ${clitkMeshViewer_GGO_C}) - TARGET_LINK_LIBRARIES(clitkMeshViewer ${ITK_LIBRARIES} ${VTK_LIBRARIES}) + TARGET_LINK_LIBRARIES(clitkMeshViewer clitkCommon) SET(TOOLS_INSTALL ${TOOLS_INSTALL} clitkMeshViewer) ENDIF(CLITK_EXPERIMENTAL)