]> granicus.if.org Git - graphviz/commitdiff
CMake: remove 'TOP_BINARY_DIR'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Apr 2022 18:03:02 +0000 (11:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 5 Apr 2022 03:03:09 +0000 (20:03 -0700)
This can be located through standard CMake mechanisms.

CMakeLists.txt
plugin/pango/CMakeLists.txt

index 90e5e9a028eced9502969e816d209f11f6ab7d92..16f6ad94af99ed3b2d92940e67c62748c3f6960b 100644 (file)
@@ -81,7 +81,6 @@ set(PLUGIN_INSTALL_DIR      ${LIBRARY_INSTALL_DIR}/graphviz)
 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)
index d2c6a53111f4b7218ba0bcca84852d71ed32af79..26749af237a303bfd3e4f72348d228ea1f541fd4 100644 (file)
@@ -16,7 +16,7 @@ if(CAIRO_FOUND AND PANGOCAIRO_FOUND)
   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