Updated to match changed CMake functions.
Merge branch 'next' into vault