diff options
author | Damjan Marion <damarion@cisco.com> | 2023-07-28 20:06:09 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-08-02 16:07:06 +0000 |
commit | 3706636ca05982996b16610233df3e303845238e (patch) | |
tree | 0be54c3b87adc3e15d7ad0abe08312ae10d7d8e6 /src/vlib/CMakeLists.txt | |
parent | f566524a210dcf55a667e54bdaae2a833a9b13a5 (diff) |
vlib: remove dependency on libuuid
Type: improvement
Change-Id: I4e2b2e4f227dfcb3df36166db13c8aa5c0b603f5
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/CMakeLists.txt')
-rw-r--r-- | src/vlib/CMakeLists.txt | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/vlib/CMakeLists.txt b/src/vlib/CMakeLists.txt index ca8c27b07f9..76de4edcde2 100644 --- a/src/vlib/CMakeLists.txt +++ b/src/vlib/CMakeLists.txt @@ -46,22 +46,6 @@ install( ) ############################################################################## -# Find lib and include files -############################################################################## -message(STATUS "Looking for libuuid") -vpp_find_path(UUID_INCLUDE_DIR NAMES uuid/uuid.h) -vpp_find_library(UUID_LIB NAMES uuid) - -if(UUID_INCLUDE_DIR AND UUID_LIB) - include_directories(${UUID_INCLUDE_DIR}) - set(VMBUS_SOURCE linux/vmbus.c) - set(VMBUS_LIBS uuid) - message(STATUS "Found uuid in ${UUID_INCLUDE_DIR}") -else() - message(WARNING "-- libuuid not found - vmbus support disabled") -endif() - -############################################################################## # vlib shared library ############################################################################## add_vpp_library(vlib @@ -77,6 +61,7 @@ add_vpp_library(vlib init.c linux/pci.c linux/vfio.c + linux/vmbus.c log.c main.c node.c @@ -104,7 +89,6 @@ add_vpp_library(vlib unix/plugin.c unix/util.c vmbus/vmbus.c - ${VMBUS_SOURCE} dma/dma.c dma/cli.c @@ -154,7 +138,7 @@ add_vpp_library(vlib API_FILES pci/pci_types.api - LINK_LIBRARIES vppinfra svm ${VMBUS_LIBS} ${CMAKE_DL_LIBS} + LINK_LIBRARIES vppinfra svm ${CMAKE_DL_LIBS} DEPENDS api_headers ) |