We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b40f71 commit 339008fCopy full SHA for 339008f
CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required (VERSION 3.0)
+cmake_minimum_required(VERSION 3.0...3.29)
2
3
project (MapCache C)
4
cmake/FindGDAL.cmake
@@ -73,7 +73,7 @@ if(UNIX)
73
)
74
75
if(GDAL_CONFIG)
76
- exec_program(${GDAL_CONFIG} ARGS --libs OUTPUT_VARIABLE GDAL_CONFIG_LIBS)
+ execute_process(COMMAND ${GDAL_CONFIG} --libs OUTPUT_VARIABLE GDAL_CONFIG_LIBS)
77
if(GDAL_CONFIG_LIBS)
78
string(REGEX MATCHALL "-l[^ ]+" _gdal_dashl ${GDAL_CONFIG_LIBS})
79
string(REGEX REPLACE "-l" "" _gdal_lib "${_gdal_dashl}")
0 commit comments