diff --git a/external/untwine/api/QgisUntwine_win.cpp b/external/untwine/api/QgisUntwine_win.cpp index d837a35be1ca..79ab868b09a3 100644 --- a/external/untwine/api/QgisUntwine_win.cpp +++ b/external/untwine/api/QgisUntwine_win.cpp @@ -28,7 +28,7 @@ bool QgisUntwine::start(Options& options) cmdline += "--" + op.first + " \"" + op.second + "\" "; PROCESS_INFORMATION processInfo; - STARTUPINFO startupInfo; + STARTUPINFOA startupInfo; ZeroMemory(&processInfo, sizeof(PROCESS_INFORMATION)); ZeroMemory(&startupInfo, sizeof(STARTUPINFO)); diff --git a/src/providers/pdal/CMakeLists.txt b/src/providers/pdal/CMakeLists.txt index d4082adc29bb..235f80859eb8 100644 --- a/src/providers/pdal/CMakeLists.txt +++ b/src/providers/pdal/CMakeLists.txt @@ -101,6 +101,7 @@ set(UNTWINE_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/external/untwine/untwine ${CMAKE_SOURCE_DIR}/external/untwine/epf ${CMAKE_SOURCE_DIR}/external/untwine/bu + ${CMAKE_SOURCE_DIR}/external/untwine ${CMAKE_SOURCE_DIR}/untwine/api ${CMAKE_BINARY_DIR}/untwine )