From 8bb7aaad92f7677a4d29a72047e0e9f00cf77f73 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Sat, 4 Jun 2016 22:18:08 +0100 Subject: [PATCH] fix android chnages. --- CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 455c2f7bc..0bbcd2abf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,7 +276,7 @@ add_library(libYap ${YAP_MODULES} ) - + set_property(DIRECTORY PROPERTY CXX_STANDARD 11) @@ -303,8 +303,8 @@ set(CMAKE_TOP_BINARY_DIR ${CMAKE_BINARY_DIR}) set(YAP_PL_SRCDIR ${CMAKE_SOURCE_DIR}/pl) # Compatibility vars with autotols -if (ANDROID) -set ( prefix "${CMAKE_SOURCE_DIR}/app/src/main") +if (0) +set ( prefix "${CMAKE_SOURCE_DIR}/android/app/build/generated") set ( exec_prefix "${prefix}") set ( libdir "${exec_prefix}/jniLibs/${ANDROID_ABI}") set ( dlls "${libdir}") @@ -612,10 +612,8 @@ option (WITH_DOCS # add_subDIRECTORY (docs) - # add_subDIRECTORY (packages/cuda) - add_subDIRECTORY (packages/gecode) add_subDIRECTORY (packages/real)