]> granicus.if.org Git - graphviz/commit
tred: CMake: link to the gvc lib instead of the common lib
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 4 Aug 2021 09:04:58 +0000 (11:04 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 26 Dec 2021 06:59:15 +0000 (07:59 +0100)
commitf5f922af96e547fd1f879859c424531865cdd0e3
tree60d75f379c45dbd0092c56ae247684ad35970f60
parent3b7e4201d9558c42a0eab2388e19baa3c5e172fe
tred: CMake: link to the gvc lib instead of the common lib

The common lib is a static lib which is built into the shared gvc lib.

An upcoming commit that changes tred.c to include utils.h instead of
timing.h would otherwise cause these errors:

C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cmd/tools/CMakeFiles/tred.dir/tred.c.obj:tred.c:(.text+0xb47): undefined reference to `__imp_start_timer'
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cmd/tools/CMakeFiles/tred.dir/tred.c.obj:tred.c:(.text+0xb7a): undefined reference to `__imp_elapsed_sec'
cmd/tools/CMakeLists.txt