Update the CMakeLists.txt to our modern CMake scripts.

This commit is contained in:
Laurent Rineau 2010-09-01 16:27:38 +00:00
parent b31c665e59
commit 5bbfa93958
1 changed files with 1 additions and 5 deletions

View File

@ -18,7 +18,7 @@ foreach(LIB_DIR ${PACKAGE_ROOT}/../CGALimageIO/src/CGALimageIO)
endforeach()
FIND_PACKAGE(CGAL)
FIND_PACKAGE(CGAL REQUIRED ImageIO)
IF(CGAL_FOUND)
include( ${CGAL_USE_FILE} )
ENDIF(CGAL_FOUND)
@ -62,8 +62,6 @@ TARGET_LINK_LIBRARIES( mesh_a_3D_image
vtkGraphics
vtkIO
vtkCommon
CGAL
CGAL-ImageIO
)
SET (SRCS_VTK
@ -79,8 +77,6 @@ TARGET_LINK_LIBRARIES( mesh_a_VTK_3D_image
vtkGraphics
vtkIO
vtkCommon
CGAL
CGAL-ImageIO
)