The VTK_MAJOR_VERSION macro is not available by default in newer versions. This is a hack to expose it without changing all imports. diff --git a/addons/vtk/CMakeLists.txt b/addons/vtk/CMakeLists.txt --- a/addons/vtk/CMakeLists.txt +++ b/addons/vtk/CMakeLists.txt @@ -36,6 +36,8 @@ IF(WITH_VTKIO) ELSE() SET(SELECTED_VTK_LIBS ${VTK_MODULES_REQUESTED}) ENDIF() + + add_compile_definitions(VTK_MAJOR_VERSION=${VTK_VERSION_MAJOR}) SET(VTK_LINK_LIBS_MESH ${SELECTED_VTK_LIBS} miamesh) SET(VTK_LINK_LIBS_3D ${SELECTED_VTK_LIBS} mia3d) >index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/glib-tests-desktop.patch
vic Courtès
AgeCommit message (Expand)Author
2014-07-02gnu: glib: Upgrade to 2.40.0....Eric Bavier
2019-09-16daemon: Include 'config.h' in 'nix-daemon.cc'....Timothy Sample
2019-09-08daemon: Run 'guix substitute' directly and assume a single substituter....Ludovic Courtès
2019-09-08daemon: Run 'guix offload' directly....Ludovic Courtès