File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ find_package(SDL2 QUIET)
77include_directories (${CMAKE_CURRENT_SOURCE_DIR} )
88
99set (ExampleLibs ggml)
10- if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.3 )
10+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0 )
1111 list (APPEND ExampleLibs stdc++fs)
1212endif ()
1313if (SDL2_FOUND)
14- include_directories (${SDL2_INCLUDE_DIRS} )
14+ include_directories (${SDL2_INCLUDE_DIRS} )
1515 add_library (streamSDL STATIC common-sdl.h common-sdl.cpp )
1616 list (APPEND ExampleLibs ${SDL2_LIBRARIES} )
1717endif ()
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
2222 list (APPEND ExampleLibs stdc++fs)
2323endif ()
2424
25- target_link_libraries (sense-voice-core PRIVATE ${ExampleLibs} )
25+ target_link_libraries (sense-voice-core PRIVATE ${ExampleLibs} )
You can’t perform that action at this time.
0 commit comments