mirror of https://github.com/procxx/kepka.git
Set LINUX os flag
This commit is contained in:
parent
c8a36d27be
commit
44e89b9cbe
|
@ -9,6 +9,10 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.10)
|
||||||
cmake_policy(SET CMP0071 NEW)
|
cmake_policy(SET CMP0071 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (UNIX AND NOT APPLE)
|
||||||
|
set(LINUX 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
##================================================
|
##================================================
|
||||||
## Configure packages
|
## Configure packages
|
||||||
##================================================
|
##================================================
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
project(libtgvoip)
|
project(libtgvoip)
|
||||||
|
|
||||||
|
if (UNIX AND NOT APPLE)
|
||||||
|
set(LINUX 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(tgvoip STATIC
|
add_library(tgvoip STATIC
|
||||||
BlockingQueue.cpp
|
BlockingQueue.cpp
|
||||||
BufferInputStream.cpp
|
BufferInputStream.cpp
|
||||||
|
|
Loading…
Reference in New Issue