From be17a40621ad781e012d095a5c62f453db95989c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 25 Nov 2021 10:07:30 -0800 Subject: [PATCH] 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}`. --- cmd/dot/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.40.0