mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:59:02 +08:00
14 lines
568 B
Diff
14 lines
568 B
Diff
diff --git a/cmake/GlfwImport.cmake b/cmake/GlfwImport.cmake
|
|
index d0c23ca..92cd5c3 100644
|
|
--- a/cmake/GlfwImport.cmake
|
|
+++ b/cmake/GlfwImport.cmake
|
|
@@ -30,6 +30,8 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT
|
|
include_directories(BEFORE SYSTEM external/glfw/include)
|
|
elseif("${PLATFORM}" STREQUAL "DRM")
|
|
MESSAGE(STATUS "No GLFW required on PLATFORM_DRM")
|
|
+elseif("${PLATFORM}" STREQUAL "Android")
|
|
+ list(REMOVE_ITEM LIBS_PRIVATE glfw)
|
|
else()
|
|
MESSAGE(STATUS "Using external GLFW")
|
|
set(GLFW_PKG_DEPS glfw3)
|