From 3767e9344d361bdc745a52df7af8e320ce311f2c Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 16 Aug 2017 13:24:51 +0200 Subject: [PATCH] #3110creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 --- {data => bbtk_creaVtk_PKG/data}/Tensors.vtk | Bin {data => bbtk_creaVtk_PKG/data}/Vectors.vtk | 0 data/CMakeLists.txt | 16 +++++++++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) rename {data => bbtk_creaVtk_PKG/data}/Tensors.vtk (100%) rename {data => bbtk_creaVtk_PKG/data}/Vectors.vtk (100%) diff --git a/data/Tensors.vtk b/bbtk_creaVtk_PKG/data/Tensors.vtk similarity index 100% rename from data/Tensors.vtk rename to bbtk_creaVtk_PKG/data/Tensors.vtk diff --git a/data/Vectors.vtk b/bbtk_creaVtk_PKG/data/Vectors.vtk similarity index 100% rename from data/Vectors.vtk rename to bbtk_creaVtk_PKG/data/Vectors.vtk diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 964e829..6a16f40 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -24,4 +24,18 @@ # ------------------------------------------------------------------------ */ -# -------------------------------- + +#=========================================================================== +# Include package data configuration cmake script from bbtk dir +#INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_data.cmake) + +SET(DATA_DIR ${PROJECT_SOURCE_DIR}/bbtk_creaVtk_PKG/data ) +FILE(GLOB DATA_FILES "${DATA_DIR}/*.vtk") +FOREACH( iLST ${DATA_FILES} ) + INSTALL( + FILES ${iLST} + DESTINATION share/bbtk/data/creaVtk + ) +ENDFOREACH(iLST) + +#=========================================================================== -- 2.47.1