Fix of android build

This commit is contained in:
Dmitriy Karpushin 2023-02-03 19:07:09 +03:00
parent ca30b8b62a
commit 3943314142

View file

@ -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)