Fixes these errors with MinGW:
CMake Error at C:/Users/magja/graphviz/build/lib/gvc/cmake_install.cmake:75 (file):
file INSTALL cannot find
"C:/Users/magja/graphviz/lib/gvc/EXPAT_RUNTIME_LIBRARIES-NOTFOUND": No
error.
Call Stack (most recent call first):
C:/Users/magja/graphviz/build/lib/cmake_install.cmake:70 (include)
C:/Users/magja/graphviz/build/cmake_install.cmake:58 (include)
CMake Error at C:/Users/magja/graphviz/build/cmd/tools/cmake_install.cmake:269 (file):
file INSTALL cannot find
"C:/Users/magja/graphviz/cmd/tools/EXPAT_RUNTIME_LIBRARIES-NOTFOUND": No
error.
Call Stack (most recent call first):
C:/Users/magja/graphviz/build/cmd/cmake_install.cmake:44 (include)
C:/Users/magja/graphviz/build/cmake_install.cmake:60 (include)
CPack Error: Error when generating package: Graphviz
# Find Windows specific dependencies
# Find DLLs on Windows
- find_program(EXPAT_RUNTIME_LIBRARIES NAMES libexpat.dll expat.dll)
+ find_program(EXPAT_RUNTIME_LIBRARIES NAMES libexpat.dll expat.dll msys-expat-1.dll)
if (CMAKE_CL_64)
find_program(MSYS_RUNTIME_LIBRARIES NAMES msys-2.0.dll)
endif()