From e236657c158e753a99367361a74925777c7d504b Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 31 Aug 2021 15:52:57 +0200 Subject: [PATCH] gvc: WIN32: install expat runtime library only if we have it --- lib/gvc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc/CMakeLists.txt b/lib/gvc/CMakeLists.txt index e5cc709cd..99670ffbf 100644 --- a/lib/gvc/CMakeLists.txt +++ b/lib/gvc/CMakeLists.txt @@ -119,7 +119,7 @@ set_target_properties(gvc PROPERTIES ) # Include DLLs with this library on Windows -if (WIN32) +if (WIN32 AND EXPAT_FOUND) install( FILES ${EXPAT_RUNTIME_LIBRARIES} -- 2.49.0