vom: export/install cmake files
Type: feature
allow other projects to use cmake modules to find VOM
Change-Id: I00e01e9bec3ecf79903cd522d2770bdb70e5399b
Signed-off-by: Neale Ranns <nranns@cisco.com>
diff --git a/extras/vom/CMakeLists.txt b/extras/vom/CMakeLists.txt
index 3a32117..4947235 100644
--- a/extras/vom/CMakeLists.txt
+++ b/extras/vom/CMakeLists.txt
@@ -26,6 +26,7 @@
OUTPUT_STRIP_TRAILING_WHITESPACE
)
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
@@ -36,6 +37,7 @@
find_package(Boost OPTIONAL_COMPONENTS system filesystem)
add_subdirectory(vom)
+add_subdirectory(cmake)
add_vpp_packaging(
NAME "vom"