diff options
author | John Levon <john.levon@nutanix.com> | 2021-03-02 11:16:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 11:16:52 +0000 |
commit | b0cebe8340579c0a31b95af1e07bb7d214ac79c8 (patch) | |
tree | 3af62cc341008793f9bb0caa93e4dade67b0d197 /samples | |
parent | 5e59861f20971ca96ed052759e3098a9bce0c894 (diff) | |
download | libvfio-user-b0cebe8340579c0a31b95af1e07bb7d214ac79c8.zip libvfio-user-b0cebe8340579c0a31b95af1e07bb7d214ac79c8.tar.gz libvfio-user-b0cebe8340579c0a31b95af1e07bb7d214ac79c8.tar.bz2 |
gpio-pci-idio-16: fix library dependency (#382)
Link gpio sample against "vfio-user-shared" to correct CMake dependencies.
This was breaking "make -j" builds.
Reported-by: Karol Latecki <karol.latecki@intel.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 13674ad..e8c0bdc 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -40,7 +40,7 @@ target_link_libraries(null vfio-user-static pthread) LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lib) add_executable(gpio-pci-idio-16 gpio-pci-idio-16.c) -target_link_libraries(gpio-pci-idio-16 vfio-user) +target_link_libraries(gpio-pci-idio-16 vfio-user-shared) add_executable(lspci lspci.c) target_link_libraries(lspci vfio-user-static) |