mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Fix an old Android Studio annoyance
This commit is contained in:
1 parent
698ff5b01a
commit
d5acc2bde1
1 file changed
+6
@@ -27,6 +27,12 @@ endif()
|
||||
# We also disable the list_cpu_features binary.
|
||||
add_subdirectory(cmake/cpu_features EXCLUDE_FROM_ALL)
|
||||
|
||||
# Android Studio's sync collects compiler flags (including -include-pch) before the PCH is built,
|
||||
# so every sync reports a missing cmake_pch.hxx.pch.
|
||||
if(ANDROID)
|
||||
set(ENABLE_PCH OFF CACHE BOOL "" FORCE)
|
||||
endif()
|
||||
|
||||
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "" FORCE)
|
||||
set(ENABLE_GLSLANG_INSTALL OFF)
|
||||
add_subdirectory(glslang EXCLUDE_FROM_ALL)
|
||||
|
||||
Reference in new issue
Block a user