File tree 6 files changed +15
-9
lines changed
solutions/cpp/01-at4/code
6 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
8
8
set (THREADS_PREFER_PTHREAD_FLAG ON )
9
9
10
10
find_package (Threads REQUIRED)
11
+ find_package (ZLIB REQUIRED)
11
12
12
13
add_executable (server ${SOURCE_FILES} )
13
14
14
- target_link_libraries (server PRIVATE Threads::Threads)
15
+ target_link_libraries (server PRIVATE Threads::Threads ZLIB::ZLIB )
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : [
3
- " pthreads"
3
+ " pthreads" ,
4
+ " zlib"
4
5
]
5
- }
6
+ }
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
8
8
set (THREADS_PREFER_PTHREAD_FLAG ON )
9
9
10
10
find_package (Threads REQUIRED)
11
+ find_package (ZLIB REQUIRED)
11
12
12
13
add_executable (server ${SOURCE_FILES} )
13
14
14
- target_link_libraries (server PRIVATE Threads::Threads)
15
+ target_link_libraries (server PRIVATE Threads::Threads ZLIB::ZLIB )
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : [
3
- " pthreads"
3
+ " pthreads" ,
4
+ " zlib"
4
5
]
5
- }
6
+ }
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
8
8
set (THREADS_PREFER_PTHREAD_FLAG ON )
9
9
10
10
find_package (Threads REQUIRED)
11
+ find_package (ZLIB REQUIRED)
11
12
12
13
add_executable (server ${SOURCE_FILES} )
13
14
14
- target_link_libraries (server PRIVATE Threads::Threads)
15
+ target_link_libraries (server PRIVATE Threads::Threads ZLIB::ZLIB )
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : [
3
- " pthreads"
3
+ " pthreads" ,
4
+ " zlib"
4
5
]
5
- }
6
+ }
You can’t perform that action at this time.
0 commit comments