Skip to content

Commit

Permalink
Remove extra compiler definitions on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Apr 27, 2021
1 parent 9f970dd commit ecdd40e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ endif()
include_directories(${GDAL_INCLUDE_DIR})

# Add compiler options.
if (NOT WIN32)
add_definitions(-Wall -Wextra)
endif()

# Add source directory
aux_source_directory("./src" SRC_LIST)
Expand Down

0 comments on commit ecdd40e

Please sign in to comment.