Error while adding add_subdirectory command..How to fix this??

This are the commands given#####

add_subdirectory (…/target_common/BSW/AUTOSAR ./temp/autosar)
add_subdirectory (…/target_common/BSW/CANTRCV_HS_GB/CanTrcv_VALEO_AR402 ./temp/CANTRCV_HS_GB)
add_subdirectory (…/target_common/BSW/I2CM/cmake_legacy ./temp/I2CM)
add_subdirectory (Generated ./temp/gen_lib)

The directories “don’t exist”. What happens if you use absolute paths? How about computing based on ${CMAKE_CURRENT_SOURCE_DIR}?