Skip to content

Commit

Permalink
win compilation of nitf
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Sep 3, 2019
1 parent abe3cbe commit 5476add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/nitf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PDAL_ADD_PLUGIN(reader_libname reader nitf
)
if (WIN32)
target_compile_definitions(${reader_libname} PRIVATE
NOMINMAX)
NOMINMAX WIN32 _WIN32)
endif()
#
# NITF Writer
Expand All @@ -50,7 +50,7 @@ PDAL_ADD_PLUGIN(writer_libname writer nitf
)
if (WIN32)
target_compile_definitions(${writer_libname} PRIVATE
NOMINMAX)
NOMINMAX WIN32 _WIN32)
endif()

if (WITH_TESTS)
Expand Down

0 comments on commit 5476add

Please sign in to comment.