From c49bbfc1d037771aad7ea777234106a69590558e Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 5 Apr 2020 11:09:21 +0200 Subject: [PATCH] cmake: Fix broken CMake code in 57dcdcd3937ee88daa311aa1e3c2df2fc74c77e1 --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.")