Skip to content

Commit

Permalink
chore: cleanup CMake dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Aponte <[email protected]>
  • Loading branch information
federico-sysdig committed Nov 5, 2024
1 parent f82c686 commit 3b6838a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions cmake/modules/libelf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ else()
if(ENABLE_PIC)
set(LIBELF_CFLAGS "${LIBELF_CFLAGS} -fPIC")
endif()
get_filename_component(ZLIB_SRC ${ZLIB_LIB} DIRECTORY)
set(LIBELF_SRC "${PROJECT_BINARY_DIR}/libelf-prefix/src")
set(LIBELF_INCLUDE "${LIBELF_SRC}/libelf/libelf")
set(LIBELF_LIB "${LIBELF_SRC}/libelf/libelf/libelf${LIBELF_LIB_SUFFIX}")
Expand Down
5 changes: 0 additions & 5 deletions userspace/libsinsp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ include(jsoncpp)
if(NOT EMSCRIPTEN)
include(tbb)
endif()
if(NOT MINIMAL_BUILD AND NOT EMSCRIPTEN)
include(curl)
endif() # MINIMAL_BUILD

include(zlib)

if(WIN32)
set(CMAKE_CXX_FLAGS
Expand Down

0 comments on commit 3b6838a

Please sign in to comment.