Merge pull request #2115 from Sonicadvance1/fix_android_cmake
Fix a typo in the Android cmake toolchain script.
This commit is contained in:
commit
84f8547556
|
@ -1487,7 +1487,7 @@ endif()
|
|||
# setup output directories
|
||||
set( CMAKE_INSTALL_PREFIX "${ANDROID_TOOLCHAIN_ROOT}/user" CACHE STRING "path for installing" )
|
||||
|
||||
if( DEFINED LIBRARY_OUTPUT_PATH_ROOT
|
||||
if( NOT DEFINED LIBRARY_OUTPUT_PATH_ROOT
|
||||
OR EXISTS "${CMAKE_SOURCE_DIR}/AndroidManifest.xml"
|
||||
OR (EXISTS "${CMAKE_SOURCE_DIR}/../AndroidManifest.xml" AND EXISTS "${CMAKE_SOURCE_DIR}/../jni/") )
|
||||
set( LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_SOURCE_DIR} CACHE PATH "Root for binaries output, set this to change where Android libs are installed to" )
|
||||
|
|
Loading…
Reference in New Issue