From: Matthew Fernandez Date: Thu, 25 Nov 2021 18:07:30 +0000 (-0800) Subject: CMake: use a relative path to locate configure_plugins.cmake X-Git-Tag: 2.50.0~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be17a40621ad781e012d095a5c62f453db95989c;p=graphviz CMake: use a relative path to locate configure_plugins.cmake `install` with `SCRIPT` supports using relative paths to the current directory, so there is no need to use the less obvious `${TOP_SOURCE_DIR}`. --- diff --git a/cmd/dot/CMakeLists.txt b/cmd/dot/CMakeLists.txt index 283448b7a..a65ed383c 100644 --- a/cmd/dot/CMakeLists.txt +++ b/cmd/dot/CMakeLists.txt @@ -114,6 +114,6 @@ endif() if(NOT CMAKE_CROSSCOMPILING) install( - SCRIPT ${TOP_SOURCE_DIR}/cmake/configure_plugins.cmake + SCRIPT ../../cmake/configure_plugins.cmake ) endif()