diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-05-11 13:05:34 -0400 |
---|---|---|
committer | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-05-11 13:13:16 -0400 |
commit | bae04bf12dd153161a8adf08a56d8485b3a13260 (patch) | |
tree | f5cce198987c791070e896cddda96b301f1cffaf /CMakeLists.txt | |
parent | f8f9200b5ff8d85bcff717111a85405439ace4d4 (diff) | |
download | libvfio-user-bae04bf12dd153161a8adf08a56d8485b3a13260.zip libvfio-user-bae04bf12dd153161a8adf08a56d8485b3a13260.tar.gz libvfio-user-bae04bf12dd153161a8adf08a56d8485b3a13260.tar.bz2 |
Use defines from linux-headers/linux/vfio.h
Instead of having local copy use the defines from
linux-headers/linux/vfio.h.
Same as how Qemu does.
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8715625..768d1a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ find_package(PkgConfig REQUIRED) pkg_check_modules(JSON REQUIRED json-c) include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_SOURCE_DIR}/linux-headers/) include_directories(${CMAKE_SOURCE_DIR}/lib) include_directories(${JSON_INCLUDE_DIRS}) |