diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-03 19:18:51 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-05 21:15:22 +0200 |
commit | 73036c83a3805e5a0460cd5871743c88fe9405a5 (patch) | |
tree | c2f6e12af6ddeb38fd06f8549517a30ed0b4c7b7 /externals/nx_tzdb/ListFilesInDirectory.cmake | |
parent | time: Implement missing services (diff) | |
download | yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar.gz yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar.bz2 yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar.lz yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar.xz yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.tar.zst yuzu-73036c83a3805e5a0460cd5871743c88fe9405a5.zip |
Diffstat (limited to 'externals/nx_tzdb/ListFilesInDirectory.cmake')
-rw-r--r-- | externals/nx_tzdb/ListFilesInDirectory.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/nx_tzdb/ListFilesInDirectory.cmake b/externals/nx_tzdb/ListFilesInDirectory.cmake new file mode 100644 index 000000000..35a9e726a --- /dev/null +++ b/externals/nx_tzdb/ListFilesInDirectory.cmake @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +# CMake does not have a way to list the files in a specific directory, +# so we need this script to do that for us in a platform-agnostic fashion + +file(GLOB FILE_LIST LIST_DIRECTORIES false RELATIVE ${CMAKE_SOURCE_DIR} "*") +execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${FILE_LIST};") |