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) a> : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/bare-bones.tmpl
AgeCommit message (Expand)Author
2021-08-29Migrate to the new 'targets' field of bootloader-configuration....The old 'target' field is deprecated; adjust the sources to use the new 'targets' one instead. * doc/guix-cookbook.texi<target>: Replace by 'targets'. * gnu/bootloader/grub.scm: Likewise. * gnu/installer/parted.scm: Likewise. * gnu/machine/digital-ocean.scm: Likewise. * gnu/system/examples/asus-c201.tmpl: Likewise * gnu/system/examples/bare-bones.tmpl: Likewise * gnu/system/examples/bare-hurd.tmpl: Likewise * gnu/system/examples/beaglebone-black.tmpl: Likewise * gnu/system/examples/desktop.tmpl: Likewise * gnu/system/examples/docker-image.tmpl: Likewise * gnu/system/examples/lightweight-desktop.tmpl: Likewise * gnu/system/examples/vm-image.tmpl: Likewise * gnu/system/examples/yggdrasil.tmpl: Likewise * gnu/system/hurd.scm: Likewise * gnu/system/images/hurd.scm: Likewise * gnu/system/images/novena.scm: Likewise * gnu/system/images/pine64.scm: Likewise * gnu/system/images/pinebook-pro.scm: Likewise * gnu/system/images/rock64.scm: Likewise * gnu/system/install.scm: Likewise * gnu/system/vm.scm: Likewise * gnu/tests.scm: Likewise * gnu/tests/ganeti.scm: Likewise * gnu/tests/install.scm: Likewise * gnu/tests/nfs.scm: Likewise * gnu/tests/telephony.scm: Likewise * tests/boot-parameters.scm: Likewise * tests/system.scm: Likewise Maxim Cournoyer