Skip to content

Commit

Permalink
Merge branch 'fix-find-library' into with-updates-merged
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik committed May 8, 2015
2 parents 1884490 + 14f23c3 commit bbfa867
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,17 @@ foreach( __root ${CMAKE_FIND_ROOT_PATH} )
endif()
endforeach()

# what do libraries look like
set( CMAKE_FIND_LIBRARY_PREFIXES
""
"${ANDROID_NDK_ABI_NAME}/"
"libs/${ANDROID_NDK_ABI_NAME}/"
"android/libs/${ANDROID_NDK_ABI_NAME}/"
"lib"
"${ANDROID_NDK_ABI_NAME}/lib"
"libs/${ANDROID_NDK_ABI_NAME}/lib"
"android/libs/${ANDROID_NDK_ABI_NAME}/lib" )

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

0 comments on commit bbfa867

Please sign in to comment.