mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Choose output folder based on executable name and extension instead of generator name
This commit is contained in:
@@ -1271,7 +1271,7 @@ PRIVATE
|
|||||||
TDESKTOP_API_HASH=${TDESKTOP_API_HASH}
|
TDESKTOP_API_HASH=${TDESKTOP_API_HASH}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (${CMAKE_GENERATOR} MATCHES "(Visual Studio|Xcode)")
|
if (APPLE OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL "" OR NOT "${output_name}" STREQUAL "Telegram")
|
||||||
set(output_folder ${CMAKE_BINARY_DIR})
|
set(output_folder ${CMAKE_BINARY_DIR})
|
||||||
elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||||
|
Reference in New Issue
Block a user