From 1749ef24962e86d7bd4d56465185f6749b2293c0 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 23 Nov 2020 22:48:05 -0600 Subject: [PATCH] chore(build): add transitive dependency guard --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b642e6e..ac7d2f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,11 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) ) endif() +if(TARGET tempest) + # Guard for use as transitive dependency + return() +endif() + # Project project(tempest)