1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/vtk5/files/patch-Rendering_CMakeLists.txt
Pietro Cerutti 582182f170 - Enable the vtkParallel kit parallel processing, needed by cad/salome [1]
- Add optional Off-Screen rendering using OSMesa (default: OFF)
- Add optional Java wrapping (default: OFF)

Reported by:	Stas Timokhin <devel@stasyan.com>
2010-04-09 09:03:30 +00:00

21 lines
900 B
Plaintext

--- Rendering/CMakeLists.txt.orig 2010-04-09 07:00:40.000000000 +0000
+++ Rendering/CMakeLists.txt 2010-04-09 07:03:00.000000000 +0000
@@ -537,14 +537,14 @@
vtkMesaFreeTypeTextMapper.cxx
)
SET_SOURCE_FILES_PROPERTIES(vtkMesaRenderWindow ABSTRACT)
- SET (KIT_LIBS ${KIT_LIBS} ${MANGLED_MESA_LIBRARY})
+ SET (KIT_LIBS ${MANGLED_MESA_LIBRARY} ${KIT_LIBS})
IF(MANGLED_OSMESA_LIBRARY)
- SET( KIT_LIBS ${KIT_LIBS} ${MANGLED_OSMESA_LIBRARY} )
+ SET( KIT_LIBS ${MANGLED_OSMESA_LIBRARY} ${KIT_LIBS})
ENDIF(MANGLED_OSMESA_LIBRARY)
ENDIF (MANGLED_MESA_LIBRARY)
ELSE (VTK_USE_MANGLED_MESA)
IF(VTK_OPENGL_HAS_OSMESA AND OSMESA_LIBRARY)
- SET(KIT_LIBS ${KIT_LIBS} ${OSMESA_LIBRARY})
+ SET(KIT_LIBS ${OSMESA_LIBRARY} ${KIT_LIBS})
ENDIF(VTK_OPENGL_HAS_OSMESA AND OSMESA_LIBRARY)
ENDIF(VTK_USE_MANGLED_MESA)
SET(Kit_SRCS ${Kit_SRCS} ${KitOpenGL_SRCS})