Skip to content

Commit

Permalink
fixed compilation for optional embree
Browse files Browse the repository at this point in the history
  • Loading branch information
amock committed Feb 1, 2024
1 parent 85d1e6d commit d53d587
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
21 changes: 12 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2...10.0)
project(rmcl
VERSION 1.1.4
VERSION 1.1.5
)

option(BUILD_EXAMPLES "Build Examples" OFF)
Expand Down Expand Up @@ -677,20 +677,23 @@ if(RMCL_OPTIX)

endif(RMCL_OPTIX)


# BENCHMARKS
add_executable(rmcl_correction_embree_benchmark
src/nodes/benchmarks/lidar_corrector_embree_benchmark.cpp
)
if(RMCL_EMBREE)

add_executable(rmcl_correction_embree_benchmark
src/nodes/benchmarks/lidar_corrector_embree_benchmark.cpp
)

target_link_libraries(rmcl_correction_embree_benchmark
rmcl_embree
)
target_link_libraries(rmcl_correction_embree_benchmark
rmcl_embree
)

endif(RMCL_EMBREE)

# add_executable(rmcl_correction_optix_benchmark
# src/nodes/lidar_corrector_optix_benchmark.cpp
# )

# target_link_libraries(rmcl_correction_optix_benchmark
# rmcl_optix
# )
# )
2 changes: 1 addition & 1 deletion include/rmcl/correction/PinholeCorrectorOptixROS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <geometry_msgs/PoseStamped.h>

// Rmagine deps
#include <rmagine/map/EmbreeMap.hpp>
#include <rmagine/map/OptixMap.hpp>

// Internal deps
#include "PinholeCorrectorOptix.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/rmcl/correction/SphereCorrectorOptixROS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <geometry_msgs/PoseStamped.h>

// Rmagine deps
#include <rmagine/map/EmbreeMap.hpp>
#include <rmagine/map/OptixMap.hpp>

// Internal deps
#include "SphereCorrectorOptix.hpp"
Expand Down
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rmcl</name>
<version>1.0.0</version>
<version>1.1.5</version>
<description>The rmcl package</description>

<maintainer email="[email protected]">Alexander Mock</maintainer>
Expand Down Expand Up @@ -34,4 +34,4 @@
<exec_depend>visualization_msgs</exec_depend>
<depend>rmagine</depend>

</package>
</package>

0 comments on commit d53d587

Please sign in to comment.