Skip to content

Commit 7d2a5fb

Browse files
Disable warnings in basisu_encoder
1 parent 3707505 commit 7d2a5fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ if(LVK_WITH_SAMPLES)
264264
lvk_set_folder(ktx "third-party/ktx-software")
265265
lvk_set_folder(ktx_version "third-party/ktx-software")
266266
lvk_set_folder(basisu_encoder "third-party/ktx-software")
267+
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
268+
target_compile_options(basisu_encoder PUBLIC "-Wno-deprecated-anon-enum-enum-conversion")
269+
endif()
267270
if(TARGET astcenc-avx2-static)
268271
lvk_set_folder(astcenc-avx2-static "third-party/ktx-software")
269272
endif()

0 commit comments

Comments
 (0)