mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 22:40:29 +02:00
CMake: Keep glslang's HLSL frontend on Windows
MinGW/Cygwin CMake builds should match the MSVC and UWP glslang projects, which build with ENABLE_HLSL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a361dfc490
commit
2aff37162b
1 file changed
+4
-2
+4
-2
@@ -18,8 +18,10 @@ set(ENABLE_SPVREMAPPER OFF CACHE BOOL "we don't need spvremapper" FORCE)
|
||||
set(ZLIB_BUILD_EXAMPLES OFF CACHE BOOL "we don't need zlib examples" FORCE)
|
||||
|
||||
# We only feed glslang GLSL, so its HLSL frontend is dead weight (and once hit an NDK 20 compiler
|
||||
# issue, PPSSPP issue #12105).
|
||||
set(ENABLE_HLSL OFF CACHE BOOL "let's not build HLSL support we don't need" FORCE)
|
||||
# issue, PPSSPP issue #12105). Windows keeps it, to match the MSVC and UWP projects.
|
||||
if(NOT WIN32)
|
||||
set(ENABLE_HLSL OFF CACHE BOOL "let's not build HLSL support we don't need" FORCE)
|
||||
endif()
|
||||
|
||||
# This works around a bug in cpu_features when ${CMAKE_BINARY_DIR} != ${CMAKE_CURRENT_BINRARY_DIR}.
|
||||
# We also disable the list_cpu_features binary.
|
||||
|
||||
Reference in new issue
Block a user