Skip to content
Snippets Groups Projects
Commit a36e10cd authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong cmake syntax

parent 2575aae5
No related branches found
No related tags found
2 merge requests!78Fix installation of GDAL bindings in standalone packages,!38Support GDAL Python binding for release 6.4
......@@ -40,7 +40,7 @@ function(install_python_bindings)
endforeach()
file(GLOB gdal_python_wrappings "${SUPERBUILD_INSTALL_DIR}/lib/python[2|3]*")
foreach(_wrap ${gdal_python_wrappings})
if (IS_DIRECTORY _wrap)
if (IS_DIRECTORY "${_wrap}")
install(DIRECTORY ${_wrap}
DESTINATION ${PKG_STAGE_DIR}/lib
PATTERN "*.pyc" EXCLUDE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment