From 8caa220ad5ee79474e95712f93dc83bbfd4066a5 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 6 Jan 2020 20:59:34 +1100 Subject: [PATCH] [common] link setupapi for ivshmem windows implementation --- VERSION | 2 +- c-host/platform/Windows/CMakeLists.txt | 1 - common/src/platform/windows/CMakeLists.txt | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 2bbec604..54735d0c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-55-g5db4c32035+1 \ No newline at end of file +B1-56-gb8203bec53+1 \ No newline at end of file diff --git a/c-host/platform/Windows/CMakeLists.txt b/c-host/platform/Windows/CMakeLists.txt index f6a01737..42b8cb2c 100644 --- a/c-host/platform/Windows/CMakeLists.txt +++ b/c-host/platform/Windows/CMakeLists.txt @@ -23,7 +23,6 @@ target_link_libraries(platform_Windows "${PROJECT_BINARY_DIR}/resource.o" lg_common capture - setupapi ) target_include_directories(platform_Windows diff --git a/common/src/platform/windows/CMakeLists.txt b/common/src/platform/windows/CMakeLists.txt index 09d6b878..a799944d 100644 --- a/common/src/platform/windows/CMakeLists.txt +++ b/common/src/platform/windows/CMakeLists.txt @@ -13,3 +13,7 @@ add_library(lg_common_platform_code STATIC windebug.c ivshmem.c ) + +target_link_libraries(lg_common_platform_code + setupapi +)