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} ${YAP_MODULES}
) )
set_property(DIRECTORY PROPERTY CXX_STANDARD 11) 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) set(YAP_PL_SRCDIR ${CMAKE_SOURCE_DIR}/pl)
# Compatibility vars with autotols # Compatibility vars with autotols
if (ANDROID) if (0)
set ( prefix "${CMAKE_SOURCE_DIR}/app/src/main") set ( prefix "${CMAKE_SOURCE_DIR}/android/app/build/generated")
set ( exec_prefix "${prefix}") set ( exec_prefix "${prefix}")
set ( libdir "${exec_prefix}/jniLibs/${ANDROID_ABI}") set ( libdir "${exec_prefix}/jniLibs/${ANDROID_ABI}")
set ( dlls "${libdir}") set ( dlls "${libdir}")
@ -612,10 +612,8 @@ option (WITH_DOCS
# add_subDIRECTORY (docs) # add_subDIRECTORY (docs)
# add_subDIRECTORY (packages/cuda) # add_subDIRECTORY (packages/cuda)
add_subDIRECTORY (packages/gecode) add_subDIRECTORY (packages/gecode)
add_subDIRECTORY (packages/real) add_subDIRECTORY (packages/real)