Updated formatting of documentation plus a little reorganization.
[cmake.git] / Modules / UseVTK40.cmake
blob086f6da1afad3142fd65a021f3ab03e48139d161
3 # This is an implementation detail for using VTK 4.0 with the
4 # FindVTK.cmake module.  Do not include directly by name.  This should
5 # be included only when FindVTK.cmake sets the VTK_USE_FILE variable
6 # to point here.
8 # Add compiler flags needed to use VTK.
9 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VTK_REQUIRED_C_FLAGS}")
10 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VTK_REQUIRED_CXX_FLAGS}")
12 # Add include directories needed to use VTK.
13 INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS})
15 # Add link directories needed to use VTK.
16 LINK_DIRECTORIES(${VTK_LIBRARY_DIRS})