view OrthancCppClient/Package/Test/Vtk/CMakeLists.txt @ 510:d87febb5f183 laaw

moves
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 12:11:33 +0200
parents OrthancCppClient/Package/Test/CMakeLists.txt@6e4bd06c17c5
children 1b8a1c43893e
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(OrthancCppClientTest)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

add_executable(Test
  main.cpp
  )

if(VTK_LIBRARIES)
  target_link_libraries(Test ${VTK_LIBRARIES})
else()
  target_link_libraries(Test vtkHybrid vtkVolumeRendering)
endif()