Including yaml-cpp as a static library in my statically-linked MFC project caused some problems.
I used cmake to generate the yaml-cpp MSVC solution and project files.  Perhaps it's user error, but I had to go and change each project to use "Multi-Threaded" instead of "Multi-Threaded DLL" to actually get a static library that linked with my static MFC project.