Commit 9d246c6f authored by pieper's avatar pieper

ENH: Added ITK and KWWidgets (VTK) to build

git-svn-id: http://svn.slicer.org/Slicer4/trunk@7 3bd1e089-480b-0410-8dfb-8563597acbee
parent a14f5cea
......@@ -21,6 +21,35 @@ IF(Slicer3_BUILD_TESTING)
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
ENDIF(Slicer3_BUILD_TESTING)
#
# Libs
# - ITK
# - KWWidgets (pulls in VTK)
#
## ITK
FIND_PACKAGE(ITK)
IF (NOT ITK_FOUND)
MESSAGE (FATAL_ERROR "Need ITK to build")
ENDIF (NOT ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
## KWWidgets
FIND_PACKAGE(KWWidgets)
IF (NOT KWWidgets_FOUND)
MESSAGE (FATAL_ERROR "Need KWWidgets to build")
ENDIF (NOT KWWidgets_FOUND)
INCLUDE(${KWWidgets_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE("${VTK_CMAKE_DIR}/vtkWrapTcl.cmake")
SET(VTK_WRAP_TCL3_INIT_DIR "${VTK_SOURCE_DIR}/Wrapping")
# VTK_WRAP_TCL3(${LIB_NAME} LIB_TCL_SRCS ${LIB_SRCS} "")
#
# Subdirectories
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment