diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OrthancCppClient/Package/Test/Vtk/CMakeLists.txt	Thu Jul 18 12:11:33 2013 +0200
@@ -0,0 +1,16 @@
+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()