diff --git a/cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake b/cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake index fc9abc64b9e4cc..7856d16b731d12 100644 --- a/cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake +++ b/cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake @@ -116,6 +116,7 @@ else() set(BIN_FOLDER "bin/${ARCH_FOLDER}") endif() +set(CMAKE_BUILD_TYPE "Debug") if(CMAKE_GENERATOR STREQUAL "Ninja Multi-Config") # 'Ninja Multi-Config' specific, see: # https://cmake.org/cmake/help/latest/variable/CMAKE_DEFAULT_BUILD_TYPE.html diff --git a/cmake/developer_package/packaging/archive.cmake b/cmake/developer_package/packaging/archive.cmake index 8d0225bb83d3a2..57f49d7a169c52 100644 --- a/cmake/developer_package/packaging/archive.cmake +++ b/cmake/developer_package/packaging/archive.cmake @@ -30,6 +30,7 @@ macro(ov_archive_cpack_set_dirs) set(OV_CPACK_TOOLSDIR tools) set(OV_CPACK_DEVREQDIR tools) set(OV_CPACK_PYTHONDIR python) + set(CMAKE_BUILD_TYPE "Debug") if(USE_BUILD_TYPE_SUBFOLDER) set(build_type ${CMAKE_BUILD_TYPE})