diff --git a/cmake/fetch_llvm.cmake b/cmake/fetch_llvm.cmake index 22688197..574c45a6 100644 --- a/cmake/fetch_llvm.cmake +++ b/cmake/fetch_llvm.cmake @@ -31,3 +31,4 @@ FetchContent_Declare(llvmproject SOURCE_SUBDIR do_not_add_llvm_subdir_yet ) FetchContent_MakeAvailable(llvmproject) +FetchContent_GetProperties(llvmproject SOURCE_DIR FETCHCONTENT_SOURCE_DIR_LLVMPROJECT) diff --git a/cmake/fetch_newlib.cmake b/cmake/fetch_newlib.cmake index 1413145f..4d7b3723 100644 --- a/cmake/fetch_newlib.cmake +++ b/cmake/fetch_newlib.cmake @@ -23,3 +23,4 @@ FetchContent_Declare(newlib SOURCE_SUBDIR do_not_add_newlib_subdir ) FetchContent_MakeAvailable(newlib) +FetchContent_GetProperties(newlib SOURCE_DIR FETCHCONTENT_SOURCE_DIR_NEWLIB) diff --git a/cmake/fetch_picolibc.cmake b/cmake/fetch_picolibc.cmake index 65b81880..67a3f3cd 100644 --- a/cmake/fetch_picolibc.cmake +++ b/cmake/fetch_picolibc.cmake @@ -29,3 +29,4 @@ FetchContent_Declare(picolibc SOURCE_SUBDIR do_not_add_picolibc_subdir ) FetchContent_MakeAvailable(picolibc) +FetchContent_GetProperties(picolibc SOURCE_DIR FETCHCONTENT_SOURCE_DIR_PICOLIBC)