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 d6bdee5 commit 6082a9aCopy full SHA for 6082a9a
CMakeLists.txt
@@ -21,8 +21,6 @@ find_package(PDAL 2.4 REQUIRED)
21
function(pdal_python_target_compile_settings target)
22
set_property(TARGET ${target} PROPERTY CXX_STANDARD 11)
23
set_property(TARGET ${target} PROPERTY CXX_STANDARD_REQUIRED TRUE)
24
- target_compile_definitions(${target} PRIVATE
25
- -DWIN32_LEAN_AND_MEAN)
26
if (MSVC)
27
# check for MSVC 8+
28
if (NOT (MSVC_VERSION VERSION_LESS 1400))
@@ -31,6 +29,8 @@ function(pdal_python_target_compile_settings target)
31
29
-D_CRT_SECURE_NO_WARNINGS
32
30
-D_CRT_NONSTDC_NO_WARNING
33
-D_SCL_SECURE_NO_WARNINGS
+ -DWIN32_LEAN_AND_MEAN
+ -DDHAVE_SNPRINTF
34
)
35
target_compile_options(${target} PRIVATE
36
# Yes, we don't understand GCC pragmas
0 commit comments