Set LINUX os flag

This commit is contained in:
Berkus Decker 2017-12-18 02:27:50 +02:00 committed by Berkus Decker
parent c8a36d27be
commit 44e89b9cbe
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,10 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.10)
cmake_policy(SET CMP0071 NEW)
endif()
if (UNIX AND NOT APPLE)
set(LINUX 1)
endif()
##================================================
## Configure packages
##================================================

View File

@ -1,5 +1,9 @@
project(libtgvoip)
if (UNIX AND NOT APPLE)
set(LINUX 1)
endif()
add_library(tgvoip STATIC
BlockingQueue.cpp
BufferInputStream.cpp