Add threading to CMakeList.txt