diff options
| author | xz-dev <xiangzhedev@gmail.com> | 2024-10-23 20:00:38 +0800 |
|---|---|---|
| committer | mark9064 <30447455+mark9064@users.noreply.github.com> | 2024-11-17 23:36:22 +0000 |
| commit | a77a3dcb8b12fbec0ee6f98bce1f08578a9a90b2 (patch) | |
| tree | 172913b0f10a5cc2befcb14670ebbf27364a5f42 /src/displayapp/fonts | |
| parent | 8aefa3b9a613adb6a2f91b28caf40f82415c3151 (diff) | |
cmake: fix python path with use multi-version python
Diffstat (limited to 'src/displayapp/fonts')
| -rw-r--r-- | src/displayapp/fonts/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/fonts/CMakeLists.txt b/src/displayapp/fonts/CMakeLists.txt index 22627efc..562f0801 100644 --- a/src/displayapp/fonts/CMakeLists.txt +++ b/src/displayapp/fonts/CMakeLists.txt @@ -11,6 +11,7 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/jetbrains_mono_bold_20.c_M.patch if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) # FindPython3 module introduces with CMake 3.12 # https://cmake.org/cmake/help/latest/module/FindPython3.html + set(Python3_FIND_STRATEGY LOCATION) # https://discourse.cmake.org/t/find-package-python3-is-not-finding-the-correct-python/10563 find_package(Python3 REQUIRED) else() set(Python3_EXECUTABLE "python") |
