From 48df4d220dc5f21cd34620305b5518e312584227 Mon Sep 17 00:00:00 2001 From: Fabian Schiebel Date: Tue, 12 Dec 2023 11:05:04 +0100 Subject: [PATCH] Make the old way of configuring phasar work again --- Config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.cmake.in b/Config.cmake.in index 8093b5f78..87b54bd0b 100644 --- a/Config.cmake.in +++ b/Config.cmake.in @@ -56,7 +56,7 @@ foreach(component ${phasar_FIND_COMPONENTS}) list(APPEND PHASAR_NEEDED_LIBS phasar::${component}) endforeach() -if (phasar_FOUND) +if (NOT DEFINED phasar_FOUND OR phasar_FOUND EQUAL TRUE) foreach(component ${phasar_FIND_COMPONENTS}) # For backwards compatibility -- will be removed with next release add_library(phasar::phasar_${component} ALIAS phasar::${component})