[PATCH] Remove now unneeded define
Anton Lundin
glance at acc.umu.se
Fri Jul 17 13:06:16 PDT 2015
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 <glance at acc.umu.se>
---
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
More information about the subsurface
mailing list