[libc][Obvious] Use full path with cmake's if(EXISTS ...).
That if(EXISTS ...) works only with full paths was missed in couple of places a in recent cleanup.
This commit is contained in:
parent
351823fbf1
commit
b622a255a3
|
@ -132,6 +132,6 @@ add_bzero(bzero MARCH native)
|
|||
# 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()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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()
|
||||
|
|
Loading…
Reference in a new issue