Skip to content

Commit

Permalink
Move swig/python/data/template_tiles.mapml to gcore/data
Browse files Browse the repository at this point in the history
to avoid issues with conda-forge builds.
One could argue this is a conda-forge build recipee bug, but it is
easier to fix it that way

Fixes OSGeo#11745
  • Loading branch information
rouault committed Jan 29, 2025
1 parent 5b5adef commit 00413e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions gcore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ set(GDAL_DATA_FILES
${CMAKE_CURRENT_SOURCE_DIR}/data/tms_MapML_APSTILE.json
${CMAKE_CURRENT_SOURCE_DIR}/data/tms_MapML_CBMTILE.json
${CMAKE_CURRENT_SOURCE_DIR}/data/tms_NZTM2000.json
${CMAKE_CURRENT_SOURCE_DIR}/data/template_tiles.mapml
)
set_property(
TARGET ${GDAL_LIB_TARGET_NAME}
Expand Down
File renamed without changes.
9 changes: 0 additions & 9 deletions swig/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ if (CMAKE_CXX_FLAGS)
string(REPLACE "/WX " " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ")
endif ()

set(GDAL_DATA_FILES
LICENSE.TXT
${CMAKE_CURRENT_SOURCE_DIR}/data/template_tiles.mapml
)
set_property(
TARGET ${GDAL_LIB_TARGET_NAME}
APPEND
PROPERTY RESOURCE "${GDAL_DATA_FILES}")

file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/osgeo/")
set(GDAL_PYTHON_CSOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/extensions/")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/extensions/")
Expand Down

0 comments on commit 00413e8

Please sign in to comment.