summaryrefslogtreecommitdiff
path: root/externals/nx_tzdb/ListFilesInDirectory.cmake
blob: 634f7aea0a929a790b7ebdf9e95815f401a03657 (plain)
1
2
3
4
5
6
7
8
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project & 2025 citron Homebrew 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};")