Skip to content

Commit

Permalink
Make the old way of configuring phasar work again (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbs96 authored Dec 12, 2023
1 parent 7f1237b commit 61b3a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 61b3a30

Please sign in to comment.