Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
  • Loading branch information
tomwillow and rouault committed Jun 29, 2024
1 parent b54b5ad commit cd43cdc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-Wmissing-prototypes
)
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8)
set(PROJ_CXX_WARN_FLAGS ${PROJ_common_WARN_FLAGS}
-Wextra-semi
)
set(PROJ_CXX_WARN_FLAGS ${PROJ_common_WARN_FLAGS} -Wextra-semi)
endif()
set(PROJ_CXX_WARN_FLAGS ${PROJ_common_WARN_FLAGS}
-Weffc++
Expand Down

0 comments on commit cd43cdc

Please sign in to comment.