Explorar o código

Merge pull request #609 from jcfr/307-remove-superfluous-fontconfig-call

Remove superfluous test on fontconfig
Jean-Christophe Fillion-Robin %!s(int64=9) %!d(string=hai) anos
pai
achega
f9478bdb4d
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Libs/Visualization/VTK/Core/CMakeLists.txt

+ 0 - 3
Libs/Visualization/VTK/Core/CMakeLists.txt

@@ -90,12 +90,9 @@ if(${VTK_VERSION_MAJOR} GREATER 5)
     list(APPEND VTK_LIBRARIES vtkRenderingFreeTypeOpenGL)
   endif()
   if (TARGET vtkRenderingFreeTypeFontConfig AND UNIX AND NOT APPLE)
-    find_package(FontConfig QUIET)
-    if (FONTCONFIG_FOUND)
       list(APPEND VTK_LIBRARIES
         vtkRenderingFreeTypeFontConfig
         )
-    endif()
   endif()
 else()
   set(VTK_LIBRARIES