Similar to what Ben said I think one just needs to do this in the CMake-way. Therefore, add the following line to the file ParaView-v*/CMakeLists.txt:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -luuid")
I’m not sure where to put it, I just placed it before the first include(...)
statement. Solved the issue at least for me.