This commit is contained in:
Vitor Santos Costa 2018-02-22 09:33:43 +00:00
parent 1cdd8a482b
commit 81c7fc5d45
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ include(GNUInstallDirs)
project(YAP) project(YAP)
set(YAP_APP_DIR "${CMAKE_SOURCE_DIR}/../..") set(YAP_APP_DIR "${CMAKE_SOURCE_DIR}/../yaplib")
cmake_policy(VERSION 3.4) cmake_policy(VERSION 3.4)
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/cmake") set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/cmake")
@ -703,7 +703,7 @@ IF ( ANDROID)
#target_link_libraries(libYap ${CMAKE_SOURCE_DIR}/../../../sqlite-android/jni/${ANDROID_ABI}/libsqliteX.so android log ) #target_link_libraries(libYap ${CMAKE_SOURCE_DIR}/../sqlite-android/jni/${ANDROID_ABI}/libsqliteX.so android log )
target_link_libraries(libYap android log ) target_link_libraries(libYap android log )
ENDIF () ENDIF ()

View File

@ -11,7 +11,7 @@
if (ANDROID) if (ANDROID)
set( GMP_ROOT ${CMAKE_SOURCE_DIR}/../../../gmp/${ANDROID_ABI} ) set( GMP_ROOT ${CMAKE_SOURCE_DIR}/../gmp/${ANDROID_ABI} )
if (EXISTS ${GMP_ROOT} ) if (EXISTS ${GMP_ROOT} )
message("Looking good for ${GMP_ROOT}") message("Looking good for ${GMP_ROOT}")
set(GMP_INCLUDE_DIRS ${GMP_ROOT} CACHE PATH "include search path") set(GMP_INCLUDE_DIRS ${GMP_ROOT} CACHE PATH "include search path")