Clang was having trouble finding homebrew GTS on my macOS.
This is similar to a series of other changes I made to fix cmake builds
on macOS previously (search the codebase for _LINK_LIBRARIES).
Fixes #2334
pkg_check_modules(GTS gts)
if(GTS_FOUND)
target_include_directories(dot_builtins SYSTEM PRIVATE ${GTS_INCLUDE_DIRS})
- target_link_libraries(dot_builtins PRIVATE ${GTS_LIBRARIES})
+ target_link_libraries(dot_builtins PRIVATE ${GTS_LINK_LIBRARIES})
endif()
pkg_check_modules(LASI lasi)
${GLUT_LIBRARIES}
${GTK2_LIBRARIES}
${GTKGLEXT_LIBRARIES}
- ${GTS_LIBRARIES}
+ ${GTS_LINK_LIBRARIES}
${XRENDER_LIBRARIES}
)