Mercurial > hg > orthanc
annotate 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 |
rev | line source |
---|---|
506 | 1 cmake_minimum_required(VERSION 2.8) |
2 | |
3 project(OrthancCppClientTest) | |
4 | |
5 find_package(VTK REQUIRED) | |
6 include(${VTK_USE_FILE}) | |
7 | |
8 add_executable(Test | |
9 main.cpp | |
10 ) | |
11 | |
12 if(VTK_LIBRARIES) | |
13 target_link_libraries(Test ${VTK_LIBRARIES}) | |
14 else() | |
15 target_link_libraries(Test vtkHybrid vtkVolumeRendering) | |
16 endif() |