From a5bc979c24d3faa4849136be7b377337ae9e6863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Sun, 23 Jun 2019 22:58:45 +0200 Subject: [PATCH] cmake: fix set of OBS_FRONTEND_LIB --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bcd31ca8..d906dc3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,8 +78,8 @@ target_link_libraries(obs-websocket # --- Windows-specific build settings and tasks --- if(WIN32) - if(NOT DEFINED OBS_FRONTEND_LIB) - set(OBS_FRONTEND_LIB "OBS_FRONTEND_LIB-NOTFOUND" CACHE FILEPATH "OBS frontend library") + set(OBS_FRONTEND_LIB "NOTFOUND" CACHE FILEPATH "OBS frontend library") + if(OBS_FRONTEND_LIB STREQUAL "NOTFOUND") message(FATAL_ERROR "Could not find OBS Frontend API's library !") endif()