diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index cabd6bbe4..9dc933f20 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1,5 +1,5 @@ # defines -if(CMAKE_SYSTEM_NAME STREQUAL "Linux") +if (LINUX) if (CMAKE_SIZEOF_VOID_P EQUAL 8) add_definitions(-DQ_OS_LINUX64) else()