Skip to content

Commit

Permalink
Move HDF5 data files to frmts/hdf5/data
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 16, 2024
1 parent db205c0 commit 59b8a6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions frmts/hdf5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ add_gdal_driver(TARGET gdal_HDF5
CORE_SOURCES hdf5drivercore.cpp
PLUGIN_CAPABLE)

set(GDAL_DATA_FILES
${CMAKE_CURRENT_SOURCE_DIR}/data/bag_template.xml
)
set_property(
TARGET ${GDAL_LIB_TARGET_NAME}
APPEND
PROPERTY RESOURCE "${GDAL_DATA_FILES}")

if(NOT TARGET gdal_HDF5)
return()
endif()
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion gdal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ set(GDAL_DATA_FILES
data/GDALLogoBW.svg
data/GDALLogoColor.svg
data/GDALLogoGS.svg
data/bag_template.xml
data/cubewerx_extra.wkt
data/default.rsc
data/ecw_cs.wkt
Expand Down

0 comments on commit 59b8a6a

Please sign in to comment.