PaStiX4CalculiX: Dependency of CUDA_LIBRARIES 'Threads::Threads' NOT FOUND

Update: To test, what is the reason for this error, I made a modification in the make_pastix.sh file and set the option -DPASTIX_WITH_PARSEC to OFF. Even though an error that the file parsec.h cannot be found is printed, the compilation seems to run a lot farther. Is therefore something wrong with parsec? As I mentioned before, parsec actually seemed to compile just fine.