Check for libshaderc.so (used by debian)

This commit is contained in:
Benau 2023-01-08 08:15:06 +08:00
parent e798c1abee
commit 292bafcf9a

View File

@ -263,7 +263,7 @@ if(NOT SERVER_ONLY)
if (IOS)
find_library(SHADERC_LIBRARY NAMES shaderc_combined libshaderc_combined)
else()
find_library(SHADERC_LIBRARY NAMES shaderc_shared libshaderc_shared)
find_library(SHADERC_LIBRARY NAMES shaderc_shared libshaderc_shared shaderc libshaderc)
endif()
find_path(SHADERC_INCLUDEDIR NAMES shaderc/shaderc.hpp PATHS)
if (NOT SHADERC_LIBRARY OR NOT SHADERC_INCLUDEDIR)