>>> You have to pass -stdlib=libc++. > add_compile_options(-stdlib=libc++) We solved it by adding the flags via a PV macro, by a quick search I could not dig deep enough to verify if it ended up with add_compile_options() but it might be. Anyway, it works. Thanks for your help Fabian