]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Add support for android logging to logcat
[apitrace] / CMakeLists.txt
index 596f4b28dc9646cd96a1df2e41817e9876bce553..7308fb24bfee07e446c17ad8e24a59d2e567a617 100755 (executable)
@@ -31,7 +31,6 @@ set (CMAKE_USE_PYTHON_VERSION 2.7 2.6)
 
 if (ANDROID)
     set (ENABLE_GUI false)
-    set (ENABLE_CLI false)
 else ()
     macro (find_host_package)
         find_package (${ARGN})
@@ -295,6 +294,10 @@ set_target_properties (common PROPERTIES
     COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}"
 )
 
+if (ANDROID)
+    target_link_libraries (common log)
+endif ()
+
 
 ##############################################################################
 # API tracers