Hi, I found out the hard way -- and after inspecting the macro definition of CheckCSourceCompiles and CheckCXXSourceCompiles -- that the second argument (VAR) is a cache variable. I think the documentation should be clearer about that. Best regards, Marcel Loose.