Skip to content

Commit

Permalink
update cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <[email protected]>
  • Loading branch information
pac48 committed Apr 2, 2024
1 parent 7145368 commit 347b235
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions antipodal_gripper_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
cmake_minimum_required(VERSION 3.16)
project(antipodal_gripper_controller LANGUAGES CXX)

if(APPLE OR WIN32)
message(WARNING "Antipodal gripper controllers are not available on OSX or Windows")
return()
endif()

if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_compile_options(-Wall -Wextra)
add_compile_options(-Wall -Wextra -Wpedantic -Werror=conversion -Werror=unused-but-set-variable
-Werror=return-type -Werror=shadow -Werror=format)
endif()

set(THIS_PACKAGE_INCLUDE_DEPENDS
Expand Down

0 comments on commit 347b235

Please sign in to comment.