view OrthancCppClient/Package/Test/CMakeLists.txt @ 506:6e4bd06c17c5 laaw

the wrapper is working
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 12:01:51 +0200
parents
children
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()

set(CMAKE_CXX_FLAGS "-fpermissive")  #TODO REMOVE