From 859457d3a03a4a81eedb4f39caf3b667dee7a71c Mon Sep 17 00:00:00 2001 From: "Hoa V. Dinh" Date: Tue, 8 Sep 2015 13:10:34 -0700 Subject: Fixed cmake file for Android --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a926538..6cf3307a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,6 +64,9 @@ if(NOT APPLE) endif() +IF(ANDROID) + message(STATUS "Android platform") +ELSE() # detect ctemplate @@ -168,6 +171,8 @@ else() message(STATUS "Found zlib") endif() +ENDIF() # Android platform + add_subdirectory (src) add_subdirectory (tests) add_subdirectory (unittest) -- cgit v1.2.3