summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-11-29 19:32:54 +0000
committerJosé Fonseca <jfonseca@vmware.com>2013-11-29 19:33:32 +0000
commit7c388484658630aa29d8ac5214dbe0108f8afa66 (patch)
treed472fc966e3dfbec6fa9e841000bea717ee08f82 /cmake
parent97244f9fa2ef8eaef1cdb3f8fab6b8e857890a82 (diff)
eglretrace: Allow to build eglretrace with Waffle on desktop systems.
One needs to set ENABLE_WAFFLE and the Waffle_* variables manually. This allows to reproduce issue #197 outside Android.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindWaffle.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindWaffle.cmake b/cmake/FindWaffle.cmake
index e2f6a84c..03be9cfd 100644
--- a/cmake/FindWaffle.cmake
+++ b/cmake/FindWaffle.cmake
@@ -10,6 +10,7 @@ if (ANDROID)
set (Waffle_LIB_SEARCH_PATH "$ENV{OUT}/obj/lib")
endif ()
+endif ()
find_path (Waffle_INCLUDE_DIR waffle.h
PATHS ${Waffle_INC_SEARCH_PATH}
@@ -31,7 +32,6 @@ if (ANDROID)
Waffle_INCLUDE_DIR
Waffle_LIBRARY
)
-endif ()
mark_as_advanced (
Waffle_FOUND