mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Misc] (...): Fix CMake error. Fix unexpected error.
This commit is contained in:
@@ -13,3 +13,4 @@ MobileGLCodeManager.*
|
||||
MobileGLCodeManager
|
||||
.vscode
|
||||
.clangd
|
||||
MobileGL/MG_Test/build
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace MobileGL {
|
||||
return m_bindingSlots[i];
|
||||
}
|
||||
}
|
||||
return m_bindingSlots[0]; // Fallback to the first slot if not found
|
||||
}
|
||||
|
||||
void BufferState::MarkBufferObjectForDeletion(Uint index) {
|
||||
|
||||
@@ -8,6 +8,7 @@ include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
||||
)
|
||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
|
||||
Reference in New Issue
Block a user