···4343find_package(Systemd)
4444find_package(OpenGLES COMPONENTS V3)
45454646+if(NOT CMAKE_VERSION VERSION_LESS 3.12)
4747+ find_package(Python3 REQUIRED Interpreter)
4848+ set(PYTHON_EXECUTABLE Python3::Interpreter)
4949+else()
5050+ find_package(PythonInterp REQUIRED VERSION 3)
5151+ if(PYTHON_EXECUTABLE MATCHES "WindowsApps")
5252+ # If you hit this error, you will have to install Python 3 or try harder to tell CMake where it is.
5353+ 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.")
5454+ endif()
5555+endif()
5656+4657add_library(xrt-pthreads INTERFACE)
4758if(WIN32)
4859 find_package(pthreads_windows REQUIRED)