diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/vxl/file_formats.diff | |
Diffstat (limited to 'vcpkg/ports/vxl/file_formats.diff')
| -rw-r--r-- | vcpkg/ports/vxl/file_formats.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/vxl/file_formats.diff b/vcpkg/ports/vxl/file_formats.diff new file mode 100644 index 0000000..6945515 --- /dev/null +++ b/vcpkg/ports/vxl/file_formats.diff @@ -0,0 +1,41 @@ +diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt +index 88daf27..a47c183 100644 +--- a/core/CMakeLists.txt ++++ b/core/CMakeLists.txt +@@ -60,6 +60,10 @@ if(VXL_BUILD_CORE_IMAGING) + if(VXL_BUILD_CORE_NUMERICS) + add_subdirectory (vil/algo) + endif() ++else() ++ file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/vil) ++ file(WRITE ${PROJECT_BINARY_DIR}/vil/vil_config.h "/* core imaging disabled */") ++ install(FILES ${PROJECT_BINARY_DIR}/vil/vil_config.h DESTINATION include/vxl/core/vil) + endif() + + +diff --git a/core/vpgl/algo/CMakeLists.txt b/core/vpgl/algo/CMakeLists.txt +index 9ec767a..fda53dc 100644 +--- a/core/vpgl/algo/CMakeLists.txt ++++ b/core/vpgl/algo/CMakeLists.txt +@@ -32,7 +32,7 @@ set( vpgl_algo_sources + vpgl_equi_rectification.h vpgl_equi_rectification.cxx + ) + include(${VXL_CMAKE_DIR}/FindTIFF.cmake) +-if(TIFF_FOUND) ++if(VXL_BUILD_CORE_IMAGING) + include_directories(${TIFF_INCLUDE_DIR}) + include( ${VXL_CMAKE_DIR}/FindGEOTIFF.cmake) + if(GEOTIFF_FOUND) +diff --git a/core/vpgl/file_formats/CMakeLists.txt b/core/vpgl/file_formats/CMakeLists.txt +index d23a2f2..6c933f0 100644 +--- a/core/vpgl/file_formats/CMakeLists.txt ++++ b/core/vpgl/file_formats/CMakeLists.txt +@@ -9,7 +9,7 @@ set( vpgl_file_formats_sources + ) + + include(${VXL_CMAKE_DIR}/FindTIFF.cmake) +-if(TIFF_FOUND) ++if(VXL_BUILD_CORE_IMAGING) + include_directories(${TIFF_INCLUDE_DIR}) + include( ${VXL_CMAKE_DIR}/FindGEOTIFF.cmake) + if(GEOTIFF_FOUND) |