Merge pull request #1580 from dzenanz/cmakeDeprecationWarning

Fix CMake warning: Compatibility with CMake < 3.10 will be removed
This commit is contained in:
Even Rouault 2025-09-20 18:38:14 +02:00 committed by GitHub
commit d1131e244d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
# For this purpose you can define a CMake var: OPENJPEG_NAMESPACE to whatever you like
# e.g.:
# set(OPENJPEG_NAMESPACE "GDCMOPENJPEG")
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.31.5)
if(NOT OPENJPEG_NAMESPACE)
set(OPENJPEG_NAMESPACE "OPENJPEG")