Skip to content

Commit c84dc65

Browse files
committed
fixing macos build
1 parent 8eda5f9 commit c84dc65

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/cbor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
#include <iostream>
77
#include <fstream>
88

9-
#define printf_err(level, ...) fprintf(stderr, __VA_ARGS__)
10-
119
#include "options.h"
1210
#include "libmerc/cbor.hpp"
1311
#include "libmerc/fdc.hpp"

src/libmerc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ set(cbor_src
319319
)
320320
add_executable(cbor ${cbor_src})
321321
target_compile_options(cbor PUBLIC ${LIBMERC_COMPILE_OPT})
322-
target_link_libraries(cbor ZLIB::ZLIB)
322+
target_link_libraries(cbor libmerc_static ZLIB::ZLIB)
323323
# }
324324

325325

0 commit comments

Comments
 (0)