Fix detection variable usage

This commit is contained in:
Berkus Decker 2018-01-12 17:29:15 +02:00 committed by Berkus Decker
parent a9ea8da861
commit c8409776f6
1 changed files with 2 additions and 1 deletions

View File

@ -678,11 +678,12 @@ if (APPLE)
CoreWLAN
IOKit
)
set(FW_LIB FW_LIB-NOTFOUND)
find_library(FW_LIB ${framework})
message(STATUS "Found framework ${FW_LIB}")
target_link_libraries(Telegram ${FW_LIB})
set(FW_LIB FW_LIB-NOTFOUND)
endforeach(framework)
set(FW_LIB FW_LIB-NOTFOUND)
endif()
if(WIN32)