cmake: fix set of OBS_FRONTEND_LIB

This commit is contained in:
Stéphane
2019-06-23 22:58:45 +02:00
parent 6eed9606ae
commit a5bc979c24

View File

@ -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()