In order to get the code to build on Ubuntu 18.04 I had to add pthread to the target_link_libraries() in CMakeLists.txt .
Otherwise make throws this:
/usr/bin/x86_64-linux-gnu-ld: CMakeFiles/Test.dir/test/test_image_model.cpp.o: undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5'
(It seemed like too much work to fork and PR for a one-word update - plus I don't know if that will break something on Mac since I don't have one of those to test with.)
In order to get the code to build on Ubuntu 18.04 I had to add pthread to the target_link_libraries() in CMakeLists.txt .
Otherwise make throws this:
/usr/bin/x86_64-linux-gnu-ld: CMakeFiles/Test.dir/test/test_image_model.cpp.o: undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5'(It seemed like too much work to fork and PR for a one-word update - plus I don't know if that will break something on Mac since I don't have one of those to test with.)