mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
Disable precompiled headers across the whole project.
This cause some intermittent build errors.
This commit is contained in:
+3
-3
@@ -18,12 +18,12 @@ android {
|
|||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
arguments "-DANDROID_STL=c++_shared", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=1"
|
arguments "-DANDROID_STL=c++_shared", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=1", "-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON"
|
||||||
// https://issuetracker.google.com/issues/274493986
|
// https://issuetracker.google.com/issues/274493986
|
||||||
// Transitive shared library that's added through `add_dependencies` is not taken into
|
// Transitive shared library that's added through `add_dependencies` is not taken into
|
||||||
// account. This result in liboboe.so and libluajit.so not get included into the final
|
// account. This result in liboboe.so and libluajit.so not get included into the final
|
||||||
// APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So,
|
// APK. "love" target depends on LuaJIT, and "OpenAL" target depends on oboe::oboe
|
||||||
// add "OpenAL" and "love" target.
|
// (which provides liboboe.so). So, add "OpenAL" and "love" target.
|
||||||
targets "love_android", "OpenAL", "love"
|
targets "love_android", "OpenAL", "love"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user