adding cmake folder
This commit is contained in:
parent
f4a41cd4c6
commit
b71da73700
4 changed files with 259 additions and 0 deletions
15
cmake/FindYouTubeDl.cmake
Normal file
15
cmake/FindYouTubeDl.cmake
Normal file
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# SPDX-FileCopyrightText: 2021 George Florea Bănuș <georgefb899@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
|
||||
find_program(YouTubeDl_EXE youtube-dl)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(YouTubeDl
|
||||
FOUND_VAR
|
||||
YouTubeDl_FOUND
|
||||
REQUIRED_VARS
|
||||
YouTubeDl_EXE
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue