Skip to content

Commit

Permalink
Separate compilation feature (#327)
Browse files Browse the repository at this point in the history
* add new cuda property

* fix empty space
  • Loading branch information
PiotrMrozik authored Aug 7, 2024
1 parent 12a5c39 commit 81f4e20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ else ()
endif ()

set_property(TARGET RobotecGPULidar PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET RobotecGPULidar PROPERTY CUDA_SEPARABLE_COMPILATION ON)

target_compile_definitions(RobotecGPULidar PUBLIC RGL_BUILD_PCL_EXTENSION=$<BOOL:${RGL_BUILD_PCL_EXTENSION}>)
target_compile_definitions(RobotecGPULidar PUBLIC RGL_BUILD_ROS2_EXTENSION=$<BOOL:${RGL_BUILD_ROS2_EXTENSION}>)
Expand Down

0 comments on commit 81f4e20

Please sign in to comment.