Skip to content

Commit

Permalink
Merge pull request #14 from Auterion/enable-pic
Browse files Browse the repository at this point in the history
Enable position independent code
  • Loading branch information
ThomasDebrunner authored Dec 8, 2023
2 parents 136fae4 + c9eacfd commit 1b7fba6
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 @@ -11,6 +11,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
endif()

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

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

0 comments on commit 1b7fba6

Please sign in to comment.