mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
[Fix] (All): Fix compiling error.
This commit is contained in:
+1
-2
@@ -17,8 +17,7 @@ find_library(GLSLANG_LIB glslang PATHS ${CMAKE_SOURCE_DIR}/libraries/arm64-v8a/)
|
||||
add_library(${CMAKE_PROJECT_NAME} SHARED
|
||||
MobileGL/Init.cpp
|
||||
|
||||
MobileGL/MG_Util/Debug/Log.cpp
|
||||
"MobileGL/Includes.h" "MobileGL/MG_Util/Debug/Log.cpp" "MobileGL/MG_Util/Debug/Log.h" "MobileGL/Config.h")
|
||||
MobileGL/MG_Util/Debug/Log.cpp)
|
||||
|
||||
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/library/arm64-v8a/libglslang.a
|
||||
|
||||
+1
-2
@@ -39,13 +39,12 @@
|
||||
#ifdef __ANDROID__
|
||||
#include <android/log.h>
|
||||
#include <pthread.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/vulkan_android.h>
|
||||
#include <android/native_window.h>
|
||||
#include <dlfcn.h>
|
||||
#include <unistd.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
#elif defined(_WIN32)
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <processthreadsapi.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user