Result binary shouldn't be in bin subfolder with any generator on macOS

Since MACOSX_BUNDLE is used
This commit is contained in:
Ilya Fedin 2021-12-11 07:13:11 +04:00 committed by John Preston
parent 1ec2c16d27
commit 4a0ffdc9f5
1 changed files with 1 additions and 1 deletions

View File

@ -1407,7 +1407,7 @@ PRIVATE
G_LOG_DOMAIN="Telegram"
)
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 "Telegram")