diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-09 19:03:53 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-09 19:03:53 -0700 |
commit | 0bde4573e5301f682d438856c4622209549718c9 (patch) | |
tree | 8b293d0ae2721f585e817240b819392cda480ddf /cmake | |
parent | 0638f3cc60d5e76b3f562aa54258bbc8641af141 (diff) | |
download | ytcpp-0bde4573e5301f682d438856c4622209549718c9.tar.gz |
slight update
try to get cmake to recognise python again
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindYtdlp.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/FindYtdlp.cmake b/cmake/FindYtdlp.cmake index a1d779d..85c3bf5 100644 --- a/cmake/FindYtdlp.cmake +++ b/cmake/FindYtdlp.cmake @@ -2,7 +2,9 @@ # # SPDX-License-Identifier: BSD-2-Clause -find_package(Python3 REQUIRED COMPONENTS Interpreter) +find_package(Python3 + REQUIRED + COMPONENTS Interpreter) execute_process(COMMAND ${Python3_EXECUTABLE} -c "import yt_dlp" RESULT_VARIABLE YTDLP_CHECK_RESULT) |