From 189df406e6d08ad9056203c5fef04d91aacc938b Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 23 Nov 2020 22:57:50 -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 4ed16f4..9a6ea5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,11 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) ) endif() +if(TARGET storm) + # Guard for use as transitive dependency + return() +endif() + # Project project(storm)