File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 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
1111if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
1212 # FindPython3 module introduces with CMake 3.12
1313 # 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
1415 find_package (Python3 REQUIRED)
1516else ()
1617 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")
1010if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
1111 # FindPython3 module introduces with CMake 3.12
1212 # 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
1314 find_package (Python3 REQUIRED)
1415else ()
1516 set (Python3_EXECUTABLE "python" )
You can’t perform that action at this time.
0 commit comments