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:
parent
179fe7c600
commit
65cdf88994
1 changed files with 2 additions and 1 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue