Skip to content

Commit

Permalink
Link dnn module to nlohman json 3rd party
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Oct 4, 2024
1 parent c4bf9c4 commit 32a571c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/tracker/dnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
#############################################################################

if(USE_NLOHMANN_JSON)
get_target_property(_inc_dirs "nlohmann_json::nlohmann_json" INTERFACE_INCLUDE_DIRECTORIES)
list(APPEND opt_incs ${_inc_dirs})

vp_add_module(dnn_tracker visp_core)
vp_glob_module_sources()
vp_module_include_directories()
vp_module_include_directories(${opt_incs})
vp_create_module()
endif()

0 comments on commit 32a571c

Please sign in to comment.