Skip to content

Commit

Permalink
disable MSVC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 19, 2024
1 parent 360c17e commit f1688fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
endif()
endif()

if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
add_compile_options("/wd4244" "/wd4005" "/wd4996" "/wd4267")
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 f1688fd

Please sign in to comment.