diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 15aba327..ee29d54c 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -10,6 +10,10 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.17) cmake_policy(SET CMP0099 OLD) endif() +if(ANDROID) + add_definitions(-D_BSD_SOURCE) +endif() + set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON)