diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index 868b797361..7bbdb025f0 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt @@ -40,7 +40,7 @@ target_include_directories(nc PUBLIC ../../include ${CMAKE_BINARY_DIR}/include) -target_link_libraries(nc ${LIBTLS_LIBS}) +target_link_libraries(nc ${LIBTLS_LIBS} compat_obj) if(ENABLE_NC) if(ENABLE_LIBRESSL_INSTALL)