mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
fix msvc build after untwine update
This commit is contained in:
parent
9b2870b8c7
commit
055e0c9cd2
2
external/untwine/untwine/windows/mapfile.hpp
vendored
2
external/untwine/untwine/windows/mapfile.hpp
vendored
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
@ -483,6 +483,13 @@ if (WITH_PDAL AND PDAL_2_5_OR_HIGHER)
|
|||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/external/untwine/api
|
${CMAKE_SOURCE_DIR}/external/untwine/api
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF(MSVC)
|
||||||
|
set_source_files_properties(
|
||||||
|
${CMAKE_SOURCE_DIR}/external/untwine/api/QgisUntwine.cpp
|
||||||
|
PROPERTIES COMPILE_FLAGS "/DUNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(SYSTEM ${SPATIALINDEX_INCLUDE_DIR})
|
include_directories(SYSTEM ${SPATIALINDEX_INCLUDE_DIR})
|
||||||
|
@ -14,6 +14,13 @@ set(PDAL_SRCS
|
|||||||
${CMAKE_SOURCE_DIR}/external/untwine/api/QgisUntwine.cpp
|
${CMAKE_SOURCE_DIR}/external/untwine/api/QgisUntwine.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF(MSVC)
|
||||||
|
set_source_files_properties(
|
||||||
|
${CMAKE_SOURCE_DIR}/external/untwine/api/QgisUntwine.cpp
|
||||||
|
PROPERTIES COMPILE_FLAGS "/DUNICODE"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(PDAL_HDRS
|
set(PDAL_HDRS
|
||||||
qgspdalprovider.h
|
qgspdalprovider.h
|
||||||
qgspdalindexingtask.h
|
qgspdalindexingtask.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user