]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Add support for android logging to logcat
[apitrace] / CMakeLists.txt
index 67df4d0d83e8e7d5330d4fad2b8fd12319d408db..7308fb24bfee07e446c17ad8e24a59d2e567a617 100755 (executable)
@@ -294,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