Skip to content

Commit

Permalink
added ADDITIONAL_FIND_PATH support
Browse files Browse the repository at this point in the history
  • Loading branch information
sh1r0 committed Jun 18, 2015
1 parent 556cc14 commit ebc8089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ set( ANDROID True )
set( BUILD_ANDROID True )

# where is the target environment
set( CMAKE_FIND_ROOT_PATH "${ANDROID_TOOLCHAIN_ROOT}/bin" "${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_MACHINE_NAME}" "${ANDROID_SYSROOT}" "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_PREFIX}/share" )
set( CMAKE_FIND_ROOT_PATH "${ANDROID_TOOLCHAIN_ROOT}/bin" "${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_MACHINE_NAME}" "${ANDROID_SYSROOT}" "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_PREFIX}/share" "${ADDITIONAL_FIND_PATH}" )

# only search for libraries and includes in the ndk toolchain
set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )
Expand Down

0 comments on commit ebc8089

Please sign in to comment.