mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-26 23:43:06 +02:00
Proper check for multi-config generator
This commit is contained in:
parent
bf4442ecf5
commit
e3e2a477c1
1 changed files with 2 additions and 1 deletions
|
@ -1910,8 +1910,9 @@ PRIVATE
|
||||||
G_LOG_DOMAIN="Telegram"
|
G_LOG_DOMAIN="Telegram"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
||||||
if (APPLE
|
if (APPLE
|
||||||
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
|
OR is_multi_config
|
||||||
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
|
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
|
||||||
OR NOT "${output_name}" STREQUAL "Telegram")
|
OR NOT "${output_name}" STREQUAL "Telegram")
|
||||||
set(output_folder ${CMAKE_BINARY_DIR})
|
set(output_folder ${CMAKE_BINARY_DIR})
|
||||||
|
|
Loading…
Add table
Reference in a new issue