diff options
-rw-r--r-- | samples/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 7fc4dd1..13674ad 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -38,8 +38,9 @@ target_link_libraries(server vfio-user-static ssl crypto) add_executable(null null.c) 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-static) +target_link_libraries(gpio-pci-idio-16 vfio-user) add_executable(lspci lspci.c) target_link_libraries(lspci vfio-user-static) |