diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ PURPOSE "Required for screencast portal" ) -if (${PipeWire_FOUND} AND ${SPA_FOUND} AND ${GLIB2_FOUND} AND ${GBM_FOUND} AND ${Epoxy_FOUND}) +if (PipeWire_FOUND AND SPA_FOUND AND GLIB2_FOUND AND GBM_FOUND AND Epoxy_FOUND) set (SCREENCAST_ENABLED true) else() set (SCREENCAST_ENABLED false)