CMake's generators other than "Ninja Multi-Config" might not set CMAKE_BUILD_TYPE whereas some target flags depends on that to set the correct flags in the examples.
This update adds Debug as fallback option in case the build type was not set by the generator during the configuration step.
"Ninja Multi-Config"
might not setCMAKE_BUILD_TYPE
whereas some target flags depends on that to set the correct flags in the examples.