Skip to content

Commit 43bf237

Browse files
committed
fix build
1 parent eae5f0e commit 43bf237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/tts/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ set(TARGET llama-mimi)
88
add_executable(${TARGET} mimi.cpp mimi-model.cpp)
99
install(TARGETS ${TARGET} RUNTIME)
1010
target_link_libraries(${TARGET} PRIVATE llama common ${CMAKE_THREAD_LIBS_INIT})
11-
target_compile_features(${TARGET} PRIVATE cxx_std_17)
11+
# for using C++ designated initializers, TODO: can be changed back to C++17 in the future
12+
target_compile_features(${TARGET} PRIVATE cxx_std_20)

0 commit comments

Comments
 (0)