view OrthancCppClient/Package/Test/Vtk/CMakeLists.txt @ 522:81cb140941a5 laaw

compiling the dll
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2013 16:41:48 +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()