This can be located through standard CMake mechanisms.
set(PKGCONFIG_DIR ${LIBRARY_INSTALL_DIR}/pkgconfig)
# TODO: Find a way to check for groff and ps2pdf for manpage pdf generation
# set(MAN_PDF_INSTALL_DIR share/graphviz/doc/pdf)
-set(TOP_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}")
set(WINDOWS_DEPENDENCY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/windows/dependencies/libraries")
set(WINDOWS_DEPENDENCY_VCPKG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/windows/dependencies/libraries/vcpkg/installed")
if(CMAKE_CL_64)
target_include_directories(gvplugin_pango PRIVATE
../../lib
${CMAKE_CURRENT_SOURCE_DIR}
- ${TOP_BINARY_DIR}/lib/common
+ ${CMAKE_BINARY_DIR}/lib/common
../../lib/cdt
../../lib/cgraph
../../lib/common