This removes the extra Q_OS_ANDROID define to prevent a redefined warning. Somehow, the qt headers didn't define Q_OS_ANDROID previously, but how does.
Signed-off-by: Anton Lundin <[email protected]> --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab7be1b..efd31ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,7 +242,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") endif() if(ANDROID) set(PLATFORM_SRC android.cpp) - add_definitions(-DQ_OS_ANDROID) set(SUBSURFACE_TARGET subsurface) endif() if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") -- 2.1.4 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
