The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Actually search for Python 3 interpreter before using it.

+11
+11
CMakeLists.txt
··· 43 43 find_package(Systemd) 44 44 find_package(OpenGLES COMPONENTS V3) 45 45 46 + if(NOT CMAKE_VERSION VERSION_LESS 3.12) 47 + find_package(Python3 REQUIRED Interpreter) 48 + set(PYTHON_EXECUTABLE Python3::Interpreter) 49 + else() 50 + find_package(PythonInterp REQUIRED VERSION 3) 51 + if(PYTHON_EXECUTABLE MATCHES "WindowsApps") 52 + # If you hit this error, you will have to install Python 3 or try harder to tell CMake where it is. 53 + message(FATAL_ERROR "Found WindowsApps alias for Python. Make sure Python3 is installed, then choose 'Manage App Execution Aliases' in Start and disable the aliases for Python.") 54 + endif() 55 + endif() 56 + 46 57 add_library(xrt-pthreads INTERFACE) 47 58 if(WIN32) 48 59 find_package(pthreads_windows REQUIRED)