view OrthancCppClient/Package/Test/Vtk/CMakeLists.txt @ 512:1b8a1c43893e laaw

compilation of the dll 32/64
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 12:36:02 +0200
parents d87febb5f183
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()