Oh, I see. (I didn’t know about pthreads.)
I think this is where the exercise is going to become more difficult, and it’s not a CMake issue. I was intending to build the ortp library for an ESP32, which runs FreeRTOS (and not the version with the POSIX stuff). Espressif does supply a pthread library in their IDF, but it appears to be proprietary:
ESP-IDF pthread header file
So, I’m probably out of luck.
Thank you for the help with CMake, though…it’s been educational.
EDIT:
I suppose there’s no harm in trying. So, if the path to the pthread directory is “C:\esp-idf\components\pthread,” what is the CMake construct that I use to tell the bctoolbox build to look here?
Thanks.