Skip to content

Commit

Permalink
-DWIN32 b/c msvc17 no longer defines it
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jun 17, 2019
1 parent 9cd4383 commit c348677
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/win32_compiler_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ function(pdal_target_compile_settings target)
-D_CRT_SECURE_NO_WARNINGS
-D_CRT_NONSTDC_NO_WARNING
-D_SCL_SECURE_NO_WARNINGS
-DWIN32
)
target_compile_options(${target} PRIVATE
# Yes, we don't understand GCC pragmas
/wd4068
/wd4068
# Nitro makes use of Exception Specifications, which results in
# numerous warnings when compiling in MSVC. We will ignore
# them for now.
Expand Down

0 comments on commit c348677

Please sign in to comment.