diff --git a/CMakeLists.txt b/CMakeLists.txt index d77f4f31..cb465470 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,9 +168,7 @@ if(TARGET libobs) message(STATUS "${PROJECT_NAME}: Using native obs-studio.") CacheSet(${PropertyPrefix}OBS_NATIVE TRUE) if (TARGET obs-frontend-api) - CacheSet(${PropertyPrefix}_ENABLE_UI TRUE) - else() - CacheSet(${PropertyPrefix}_ENABLE_UI FALSE) + set(HAVE_OBS_FRONTEND TRUE) endif() else() message(STATUS "${PROJECT_NAME}: Using packaged or remote obs-studio.")