Proper check for multi-config generator

This commit is contained in:
Ilya Fedin 2025-06-02 04:37:48 +00:00 committed by John Preston
parent bf4442ecf5
commit e3e2a477c1

View file

@ -1910,8 +1910,9 @@ PRIVATE
G_LOG_DOMAIN="Telegram"
)
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if (APPLE
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
OR is_multi_config
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
OR NOT "${output_name}" STREQUAL "Telegram")
set(output_folder ${CMAKE_BINARY_DIR})