File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,14 @@ project(whisper_cpp_server)
4
4
set (CMAKE_CXX_STANDARD 14 )
5
5
# find SDL2 library
6
6
find_package (SDL2 CONFIG REQUIRED )
7
+ message (STATUS "SDL2 include directories: ${SDL2_INCLUDE_DIRS} " )
8
+ message (STATUS "SDL2 libraries: ${SDL2_LIBRARIES} " )
9
+
7
10
include_directories (${SDL2_INCLUDE_DIRS} )
8
11
9
12
add_executable (sdl_version sdl_version.cpp )
10
13
target_link_libraries (sdl_version ${SDL2_LIBRARIES} )
14
+
11
15
add_executable (stream_components stream_components.cpp )
12
16
target_link_libraries (stream_components whisper ${SDL2_LIBRARIES} )
13
17
Original file line number Diff line number Diff line change 1
1
#include < iostream>
2
2
#include < SDL.h>
3
3
4
- int main () {
4
+ int main (int argc, char *argv[] ) {
5
5
SDL_version compiled;
6
6
SDL_version linked;
7
7
@@ -19,4 +19,4 @@ int main() {
19
19
<< static_cast <int >(linked.patch ) << std::endl;
20
20
21
21
return 0 ;
22
- }
22
+ }
You can’t perform that action at this time.
0 commit comments