Commit a36e10cd authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: wrong cmake syntax

parent 2575aae5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment