Skip to content

Commit

Permalink
cmake: also build shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDebrunner authored and bkueng committed Dec 11, 2023
1 parent 1b7fba6 commit a48e42f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions px4_ros2_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ endif()

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
set(BUILD_SHARED_LIBS ON)

find_package(ament_cmake REQUIRED)
find_package(ament_index_cpp REQUIRED)
Expand Down

0 comments on commit a48e42f

Please sign in to comment.