Use return to decrease indentation in cmake files

This commit is contained in:
Ilya Fedin 2022-01-11 23:06:38 +04:00 committed by John Preston
parent f1244e19a1
commit 7c8d10022f

View File

@ -13,10 +13,10 @@ if (DESKTOP_APP_USE_PACKAGED)
if (TGVOIP_FOUND)
target_link_libraries(lib_tgvoip INTERFACE PkgConfig::TGVOIP)
return()
endif()
endif()
if (NOT TGVOIP_FOUND)
add_library(lib_tgvoip_bundled STATIC)
init_target(lib_tgvoip_bundled)
@ -218,4 +218,3 @@ if (NOT TGVOIP_FOUND)
INTERFACE
lib_tgvoip_bundled
)
endif()