Explorar o código

BUG: Missing vtkRenderingFreeType library option

Closes #676
Stephen R. Aylward %!s(int64=8) %!d(string=hai) anos
pai
achega
17df894b68
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Libs/Visualization/VTK/Core/CMakeLists.txt

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

@@ -89,6 +89,9 @@ if(${VTK_VERSION_MAJOR} GREATER 5)
   if(TARGET vtkRenderingFreeTypeOpenGL)
     list(APPEND VTK_LIBRARIES vtkRenderingFreeTypeOpenGL)
   endif()
+  if(TARGET vtkRenderingFreeType )
+    list(APPEND VTK_LIBRARIES vtkRenderingFreeType)
+  endif()
   if (TARGET vtkRenderingFreeTypeFontConfig AND UNIX AND NOT APPLE)
       list(APPEND VTK_LIBRARIES
         vtkRenderingFreeTypeFontConfig