]> granicus.if.org Git - graphviz/commitdiff
gvc: WIN32: install expat runtime library only if we have it
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 31 Aug 2021 13:52:57 +0000 (15:52 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 31 Aug 2021 13:54:08 +0000 (15:54 +0200)
lib/gvc/CMakeLists.txt

index e5cc709cd7d67f79754c6bb8c33c2d7e83281653..99670ffbff263085df8a795930669bdbfa53c3d5 100644 (file)
@@ -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}