Skip to content

Commit

Permalink
fix build with system njson
Browse files Browse the repository at this point in the history
When not using the vendored json library, there is no external project defined.

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
  • Loading branch information
Mic92 authored and therealbobo committed Sep 5, 2023
1 parent 722a40a commit ba342aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions userspace/sysdig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ list(APPEND SOURCE_FILES_CSYSDIG
add_executable(sysdig ${SOURCE_FILES})
add_executable(csysdig ${SOURCE_FILES_CSYSDIG})

add_dependencies(sysdig njson)
add_dependencies(csysdig njson)

if(USE_BUNDLED_DEPS)
add_dependencies(sysdig njson)
add_dependencies(csysdig njson)
add_dependencies(sysdig yaml-cpp)
add_dependencies(csysdig yaml-cpp)
endif()
Expand Down

0 comments on commit ba342aa

Please sign in to comment.