From 14a999663a60ba637b26cae6397069603a5d7824 Mon Sep 17 00:00:00 2001 From: Tom Deblauwe Date: Tue, 15 Nov 2016 19:48:56 +0100 Subject: [PATCH] only add wakelock.h when android --- include/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 1e5e81b2..9a4c2eea 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -48,9 +48,12 @@ set(HEADER_FILES transaction.h types.h utils.h - wakelock.h ) +if(ANDROID) + list(APPEND HEADER_FILES wakelock.h) +endif() + set(BELLE_SIP_HEADER_FILES ) foreach(HEADER_FILE ${HEADER_FILES}) list(APPEND BELLE_SIP_HEADER_FILES "${CMAKE_CURRENT_LIST_DIR}/belle-sip/${HEADER_FILE}")