bladeRF-power: fixed ncurses dep

On macOS, sometimes the ${CURSES_LIBRARIES} variable provided by
 find_package(Curses) doesn't correctly include all the necessary linkage
 information, especially when using wide character support. By explicitly adding
 ncurses to the link libraries for Apple platforms, we ensure that the linker
 can find all the required symbols.
This commit is contained in:
Ryan Thompson 2025-04-07 14:15:59 -05:00 • committed by Robert Ghilduta
commit 65cdf88994

View file

@ -24,6 +24,7 @@ target_link_libraries(${PROJECT_NAME}
libbladerf_shared
m
${BLADERF_HOST_COMMON_LIBRARIES}
${CURSES_LIBRARIES})
${CURSES_LIBRARIES}
ncurses)
install(TARGETS ${PROJECT_NAME} DESTINATION ${BIN_INSTALL_DIR})