Hi, Are there any Cmake experts around who can enlighten me? I discovered that the Haiku build is not using the atomic built-ins. Not sure how important this is, but as they *do* exist in Haiku I'd rather have them enabled. (And I have other problems that *might* be related.) I see that the check is in cmake/CheckAtomic.cmake, and it apparently does it by seeing if the little source included actually compiles. I extracted that piece of code, and it compiles fine (and runs, with the corrrect result) but somehow cmake is not finding this. Can anyone suggest where I might look for the problem? Obviously cmake is mostly OK, because overall the build is fine. (I tried '--trace-expand' but didn't see anything to help.) Thanks, -- Pete --