X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FCMakeLists.txt;h=fe6120ec7e47c80058f5de72391c75d19ed10e12;hb=58f6f4201ec9091b5150f6576da25bfedeabbdce;hp=a20b0b08c61cf4d8e29be32102ea19f83e8df1a1;hpb=9476331a2923c08ae8f62fc83461ffcc72ee9fa3;p=clitk.git diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index a20b0b0..fe6120e 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -9,6 +9,12 @@ endif(COMMAND cmake_policy) #========================================================= OPTION(CLITK_USE_PACS_CONNECTION "USE PACS CONNECTION" OFF) #========================================================= + +# Look for OpenGL2 version +if (VTK_RENDERING_BACKEND STREQUAL "OpenGL2") + add_definitions(-DVTK_OPENGL2) +endif () + #List of vv tools to compile set(vv_TOOLS vvToolMedianFilter