aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt
index 6f1173b..ab41fc3 100644
--- a/samples/CMakeLists.txt
+++ b/samples/CMakeLists.txt
@@ -28,18 +28,18 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-add_executable(server server.c)
-target_link_libraries(server vfio-user ssl crypto)
-
add_executable(client client.c
../lib/tran_sock.c ../lib/migration.c)
target_link_libraries(client json-c)
+add_executable(server server.c)
+target_link_libraries(server vfio-user-static ssl crypto)
+
add_executable(null null.c)
-target_link_libraries(null vfio-user pthread)
+target_link_libraries(null vfio-user-static pthread)
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-static)
add_executable(lspci lspci.c)
-target_link_libraries(lspci vfio-user)
+target_link_libraries(lspci vfio-user-static)