From: Nehal J Wani Date: Sun, 22 Jan 2023 13:00:34 +0000 (+0000) Subject: GTS Support: s/GTS_LIBRARIES/GTS_LINK_LIBRARIES/g X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bdefbb4bce46a4047f867db462ca399809962a7;p=graphviz GTS Support: s/GTS_LIBRARIES/GTS_LINK_LIBRARIES/g The argument to target_link_libraries() in lib/neatogen/CMakeLists.txt uses GTS_LINK_LIBRARIES, not GTS_LIBRARIES The FindGTS module was added in commit cef299eb The issue was found while building Graphviz on Windows with GTS --- diff --git a/cmake/FindGTS.cmake b/cmake/FindGTS.cmake index ae4176abe..eaa7323ce 100644 --- a/cmake/FindGTS.cmake +++ b/cmake/FindGTS.cmake @@ -29,7 +29,7 @@ if(WIN32) ${GLIBCONFIG_INCLUDE_DIR} ) - set(GTS_LIBRARIES + set(GTS_LINK_LIBRARIES ${GTS_LIBRARY} ${GLIB_LIBRARY} )