mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
CMake: update all CMakeLists to include actual sources and headers
This make it easier to use project with newer CMake and Qt Creator. I decided against using GLOB since we don't rename files that much.
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
*/
|
||||
#include "CAndroidVMHelper.h"
|
||||
|
||||
#ifdef VCMI_ANDROID
|
||||
static JavaVM * vmCache = nullptr;
|
||||
|
||||
/// cached java classloader so that we can find our classes from other threads
|
||||
@ -103,3 +104,4 @@ extern "C" JNIEXPORT void JNICALL Java_eu_vcmi_vcmi_NativeMethods_initClassloade
|
||||
vcmiClassLoader = (jclass) env->NewGlobalRef(env->CallObjectMethod(anyVCMIClass, getClassLoaderMethod));
|
||||
vcmiFindClassMethod = env->GetMethodID(classLoaderClass, "findClass", "(Ljava/lang/String;)Ljava/lang/Class;");
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user