fix android chnages.

This commit is contained in:
Vitor Santos Costa 2016-06-04 22:18:08 +01:00
parent f905e4d297
commit 8bb7aaad92

View File

@ -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)