mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Move libatomic link to common_options
This commit is contained in:
parent
e4bd89d33e
commit
79e6369e27
1 changed files with 0 additions and 10 deletions
|
@ -183,16 +183,6 @@ if (LINUX AND NOT TDESKTOP_DISABLE_GTK_INTEGRATION)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Telegram uses long atomic types, so on some architectures libatomic is needed.
|
|
||||||
check_cxx_source_compiles("
|
|
||||||
#include <atomic>
|
|
||||||
std::atomic_int64_t foo;
|
|
||||||
int main() {return foo;}
|
|
||||||
" HAVE_LONG_ATOMIC_WITHOUT_LIB)
|
|
||||||
if (NOT HAVE_LONG_ATOMIC_WITHOUT_LIB)
|
|
||||||
target_link_libraries(Telegram PRIVATE atomic)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
target_precompile_headers(Telegram PRIVATE ${src_loc}/stdafx.h)
|
target_precompile_headers(Telegram PRIVATE ${src_loc}/stdafx.h)
|
||||||
nice_target_sources(Telegram ${src_loc}
|
nice_target_sources(Telegram ${src_loc}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue