view OrthancCppClient/Package/Test/Vtk/CMakeLists.txt @ 518:58841db7b64e laaw

mainline to laaw integration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2013 16:14:18 +0200
parents 1b8a1c43893e
children
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(OrthancCppClientTest)

set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../../..)
include(../../OrthancCppClient.cmake)

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()