From 13bbf08e6c2c86015a62686503b6e8a14527b90f Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 23 Feb 2025 23:08:24 +0000 Subject: [PATCH] CMakeLists.txt: further future-proofing of FindCurses use `CURSES_INCLUDE_DIR` -> `CURSES_INCLUDE_DIRS` as `_DIR` is deprecated per the `FindCurses` docs. It shouldn't matter like the `_LIBRARY` issue though as it seems to gracefully populate both with the same value. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f9b19e..e0df712 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ find_package(Curses REQUIRED) find_package(PulseAudio REQUIRED) find_package(CODEC2) -include_directories(SYSTEM ${LIBSNDFILE_INCLUDE_DIR} ${MBE_INCLUDE_DIR} ${ITPP_INCLUDE_DIR} ${PULSEAUDIO_INCLUDE_DIRS} ${CURSES_INCLUDE_DIR}) +include_directories(SYSTEM ${LIBSNDFILE_INCLUDE_DIR} ${MBE_INCLUDE_DIR} ${ITPP_INCLUDE_DIR} ${PULSEAUDIO_INCLUDE_DIRS} ${CURSES_INCLUDE_DIRS}) set(LIBS ${MBE_LIBRARY} ${LIBSNDFILE_LIBRARY} ${ITPP_LIBRARY} ${PULSEAUDIO_SIMPLE_LIBRARY} ${PULSEAUDIO_LIBRARY} ${CURSES_LIBRARIES}) if(RTLSDR_FOUND)