Skip to content

Commit

Permalink
Update CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Oct 2, 2023
1 parent 42a4f70 commit eb51022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ catkin_package()

## Targets

add_subdirectory(src/teleoperation/streaming)
add_subdirectory(src/teleoperation/streaming EXCLUDE_FROM_ALL)

add_cpp_library_macro(lie src/util/lie/*.c* src/util/lie)

Expand All @@ -206,8 +206,8 @@ if (ZED_FOUND)
add_cpp_node_macro(cameras src/esw/cameras/*.c*)
target_link_libraries(cameras PRIVATE streaming opencv_videoio opencv_highgui)

target_link_libraries(cameras PUBLIC de265)
target_include_directories(cameras PUBLIC deps/libde265 ${CMAKE_BINARY_DIR}/libde265)
# target_link_libraries(cameras PUBLIC de265)
# target_include_directories(cameras PUBLIC deps/libde265 ${CMAKE_BINARY_DIR}/libde265)

# add_cpp_node_macro(zed_node "src/perception/zed_wrapper/*.c*")
# target_link_options(zed_node PRIVATE "LINKER:--copy-dt-needed-entries")
Expand Down
2 changes: 1 addition & 1 deletion src/esw/cameras/cameras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <opencv2/imgproc.hpp>
#include <opencv2/videoio.hpp>

#include <libde265/de265.h>
//#include <libde265/de265.h>

int main() {
StreamServer streamServer{"0.0.0.0", 8080};
Expand Down

0 comments on commit eb51022

Please sign in to comment.