While I was able to compiler ArrayFire V3.5 with the given CMakeLists.txt. It seems that the new CMakeLists.txt needs to be tested. It does not detects ASYNC option and correct Boost.compute.  Unfortunately using the CMakeLists.txt of V3.5 for V3.5.1 does not work either.