Disable debug output, if CMAKE_BUILD_TYPE variable not set

Authored by sirgienko on May 19 2019, 12:17 PM.