That if(EXISTS ...) works only with full paths was missed in couple of
places a in recent cleanup.
# Add all other relevant implementations for the native target.
# ------------------------------------------------------------------------------
-if(EXISTS ${LIBC_STRING_TARGET_ARCH})
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_STRING_TARGET_ARCH})
include(${LIBC_STRING_TARGET_ARCH}/CMakeLists.txt)
endif()
add_libc_testsuite(libc_linux_tests)
-if(EXISTS ${LIBC_TARGET_MACHINE})
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_MACHINE})
add_subdirectory(${LIBC_TARGET_MACHINE})
endif()