From 57efadbfe7fd04fbd2063735593d534cda4994fd Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 11 Dec 2021 05:15:59 +0400 Subject: [PATCH] Fix binary path on macOS --- Telegram/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 3f7b78c79..bc35728b5 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1435,7 +1435,7 @@ PRIVATE G_LOG_DOMAIN="Kotatogram" ) -if ("${CMAKE_GENERATOR}" STREQUAL "Xcode" +if (APPLE OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config" OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL "" OR NOT "${output_name}" STREQUAL "Kotatogram")