Skip to content

Commit

Permalink
Merge pull request #94 from matthias-mayr/pr_build_type
Browse files Browse the repository at this point in the history
New: Sets "Release" build type if none is specified
  • Loading branch information
costashatz authored Nov 29, 2022
2 parents c65789a + e882f28 commit 9fe3c96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iiwa_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ generate_messages(
# Needed for ros packages
catkin_package(CATKIN_DEPENDS roscpp message_runtime geometry_msgs tf std_msgs sensor_msgs hardware_interface controller_manager urdf realtime_tools)

# Sets build type to "Release" in case no build type has not been set before
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif(NOT CMAKE_BUILD_TYPE)

add_executable(iiwa_driver src/iiwa.cpp src/iiwa_driver.cpp)

# Require C++11
Expand Down

0 comments on commit 9fe3c96

Please sign in to comment.