Skip to content

Commit

Permalink
Revert "[DBG] remove warnings"
Browse files Browse the repository at this point in the history
This reverts commit 3af28bb.
  • Loading branch information
christianrauch committed Jan 19, 2024
1 parent 3af28bb commit 0b356ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

# if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
# add_compile_options(-Wall -Wextra -Werror)
# # add_compile_options(-Wpedantic)
# add_compile_options(-Wno-shift-negative-value)
# if(NOT CMAKE_C_COMPILER_ID MATCHES "AppleClang")
# add_link_options("-Wl,-z,relro,-z,now,-z,defs")
# endif()
# endif()
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Werror)
# add_compile_options(-Wpedantic)
add_compile_options(-Wno-shift-negative-value)
if(NOT CMAKE_C_COMPILER_ID MATCHES "AppleClang")
add_link_options("-Wl,-z,relro,-z,now,-z,defs")
endif()
endif()

aux_source_directory(common COMMON_SRC)
set(APRILTAG_SRCS apriltag.c apriltag_pose.c apriltag_quad_thresh.c)
Expand Down

0 comments on commit 0b356ce

Please sign in to comment.