1 function(_AbseilSource_import)
2 if(NOT DOWNLOAD_ABSEIL)
3 set(AbseilSource_FOUND FALSE PARENT_SCOPE)
5 endif(NOT DOWNLOAD_ABSEIL)
7 nnas_include(ExternalSourceTools)
8 nnas_include(OptionTools)
10 # NOTE GCC 13 requires abseil 20230125.3
11 envoption(EXTERNAL_DOWNLOAD_SERVER "https://github.com")
12 envoption(ABSEIL_URL ${EXTERNAL_DOWNLOAD_SERVER}/abseil/abseil-cpp/archive/20230125.3.tar.gz)
13 ExternalSource_Download(ABSEIL
16 CHECKSUM MD5=9b6dae642c4bd92f007ab2c148bc0498)
18 set(AbseilSource_DIR ${ABSEIL_SOURCE_DIR} PARENT_SCOPE)
19 set(AbseilSource_FOUND TRUE PARENT_SCOPE)
20 endfunction(_AbseilSource_import)
22 _AbseilSource_import()