Created
November 26, 2021 14:16
-
-
Save rkandas/ab9f5b0db9cfd9b5bfe5efc2d1e9f05c to your computer and use it in GitHub Desktop.
Assimp build patch for Android builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/port/AndroidJNI/CMakeLists.txt b/port/AndroidJNI/CMakeLists.txt | |
index 8c821c72a..6fb7489fe 100644 | |
--- a/port/AndroidJNI/CMakeLists.txt | |
+++ b/port/AndroidJNI/CMakeLists.txt | |
@@ -13,4 +13,7 @@ add_library( # Defines the name of the library. | |
BundledAssetIOSystem.cpp | |
) | |
TARGET_LINK_LIBRARIES(android_jniiosystem android log) | |
-INSTALL(TARGETS android_jniiosystem EXPORT "${TARGETS_EXPORT_NAME}") | |
+INSTALL(TARGETS android_jniiosystem EXPORT "${TARGETS_EXPORT_NAME}" | |
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | |
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | |
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment