Skip to content

Commit 61b3a30

Browse files
authored
Make the old way of configuring phasar work again (#694)
1 parent 7f1237b commit 61b3a30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ foreach(component ${phasar_FIND_COMPONENTS})
5656
list(APPEND PHASAR_NEEDED_LIBS phasar::${component})
5757
endforeach()
5858

59-
if (phasar_FOUND)
59+
if (NOT DEFINED phasar_FOUND OR phasar_FOUND EQUAL TRUE)
6060
foreach(component ${phasar_FIND_COMPONENTS})
6161
# For backwards compatibility -- will be removed with next release
6262
add_library(phasar::phasar_${component} ALIAS phasar::${component})

0 commit comments

Comments
 (0)