From: Eduardo DAVILA Date: Wed, 16 Aug 2017 11:24:51 +0000 (+0200) Subject: #3110creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3767e9344d361bdc745a52df7af8e320ce311f2c;p=creaVtk.git #3110creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7 --- 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) + +#===========================================================================