Fix generator expression when debug is false
-if($<$<CONFIG:Debug>:1>)
+if($<BOOL:$<CONFIG:Debug>>)
get_filename_component(root_dir "${CMAKE_CURRENT_LIST_DIR}" DIRECTORY)
# Compile generated coverage counts into a single coverage.info
execute_process(
