fix find cairo

This commit is contained in:
Mathis Logemann 2021-03-15 10:03:26 +01:00
parent f9d65edf20
commit c1d9bde886

View file

@ -124,7 +124,7 @@ else()
)
endif()
if (Cairo_LIBRARY AND NOT TARGET Cairo::Cairo)
if (NOT TARGET Cairo::Cairo)
add_library(Cairo::Cairo UNKNOWN IMPORTED GLOBAL)
set_target_properties(Cairo::Cairo PROPERTIES
IMPORTED_LOCATION "${Cairo_LIBRARY_RELEASE}"