This reveals this error when "dot -c" is executed when running cpack
on MinGW:
CPack: Create package using ZIP
CPack: Install projects
CPack: - Install project: Graphviz []
CMake Error at C:/Users/magja/graphviz2/cmake/configure_plugins.cmake:38 (execute_process):
execute_process abnormal exit: Access violation
Call Stack (most recent call first):
C:/Users/magja/graphviz2/build/cmd/dot/cmake_install.cmake:91 (include)
C:/Users/magja/graphviz2/build/cmd/cmake_install.cmake:42 (include)
C:/Users/magja/graphviz2/build/cmake_install.cmake:60 (include)
CPack Error: Error when generating package: Graphviz
See https://gitlab.com/graphviz/graphviz/-/issues/2176.
execute_process(
COMMAND ${ROOT}/bin/dot -c
+ COMMAND_ERROR_IS_FATAL ANY
)