File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ configure_file(${CMAKE_CURRENT_LIST_DIR}/jetbrains_mono_bold_20.c_M.patch
11
11
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
12
12
# FindPython3 module introduces with CMake 3.12
13
13
# https://cmake.org/cmake/help/latest/module/FindPython3.html
14
+ set (Python3_FIND_STRATEGY LOCATION ) # https://discourse.cmake.org/t/find-package-python3-is-not-finding-the-correct-python/10563
14
15
find_package (Python3 REQUIRED)
15
16
else ()
16
17
set (Python3_EXECUTABLE "python" )
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ message(STATUS "Using ${LV_IMG_CONV} to generate font files")
10
10
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
11
11
# FindPython3 module introduces with CMake 3.12
12
12
# https://cmake.org/cmake/help/latest/module/FindPython3.html
13
+ set (Python3_FIND_STRATEGY LOCATION ) # https://discourse.cmake.org/t/find-package-python3-is-not-finding-the-correct-python/10563
13
14
find_package (Python3 REQUIRED)
14
15
else ()
15
16
set (Python3_EXECUTABLE "python" )
You can’t perform that action at this time.
0 commit comments