]> granicus.if.org Git - graphviz/commitdiff
Visio plugin: fix: remove typoed #pragma dependencies
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 7 Apr 2022 15:44:29 +0000 (08:44 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 11 Apr 2022 01:00:53 +0000 (18:00 -0700)
It seems to have been an accidental omission that these were not removed in
2d95aab626184f35f779bbd02a000a992826047a when migrating to describing link
dependencies in the build system files. However, these dependencies are typoed
too (should be `cgraph.lib` not `graph.lib`), so it is unclear how they could
have ever worked. This seems to have gone undiscovered because the Visio plugin
is not integrated into the MS Build files nor built on any Windows platform in
CI. This changes in an upcoming commit, exposing:

  LINK : fatal error LNK1104: cannot open file 'graph.lib'

Gitlab: #1836

plugin/visio/gvplugin_visio.c

index 6a024155753fc66497a020acfacfd416adc0a717..85cee768f9ec99478b1cb203d6df5d72d2ed22c7 100644 (file)
@@ -8,12 +8,6 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#ifdef _WIN32 //*dependencies
-    #pragma comment( lib, "gvc.lib" )
-    #pragma comment( lib, "graph.lib" )
-#endif
-
-
 #include <gvc/gvplugin.h>
 
 extern gvplugin_installed_t gvdevice_vdx_types[];