]> granicus.if.org Git - graphviz/commitdiff
libgvc: install expat DLLs only if install_win_dependency_dlls is ON
authorNehal J Wani <nehaljw.kkd1@gmail.com>
Tue, 26 Oct 2021 20:29:31 +0000 (16:29 -0400)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 1 Nov 2021 14:58:19 +0000 (07:58 -0700)
lib/gvc/CMakeLists.txt

index 745841176f2173309385aa855d514976101c869d..0329de559c6e39c73894704492a35423380a5add 100644 (file)
@@ -134,7 +134,7 @@ set_target_properties(gvc PROPERTIES
 )
 
 # Include DLLs with this library on Windows
-if (WIN32 AND EXPAT_FOUND)
+if (WIN32 AND EXPAT_FOUND AND install_win_dependency_dlls)
     install(
         FILES
             ${EXPAT_RUNTIME_LIBRARIES}