Attempt to hint to cmake what python install to use correctly

Should fix my linux building issue?
pull/14/head
Andrew Cassidy 2 years ago
parent 593a0c3f46
commit b954ac6ccc

@ -49,8 +49,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [ macos-latest, windows-latest, ubuntu-latest ]
os: [ macos-11, windows-latest ]
os: [ macos-11, windows-latest, ubuntu-latest ]
steps:
- uses: actions/checkout@v3

@ -40,7 +40,7 @@ class CMakeBuild(build_ext):
cmake_args = [
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={}".format(extdir),
"-Dpybind11_DIR={}".format(pybind11.get_cmake_dir()),
"-DPython_EXECUTABLE={}".format(sys.executable),
"-DPython_ROOT_DIR={}".format(os.path.dirname(sys.executable)),
"-DQUICKTEX_VERSION_INFO={}".format(version),
"-DCMAKE_BUILD_TYPE={}".format(cfg), # not used on MSVC, but no harm
# clear cached make program binary, see https://github.com/pypa/setuptools/issues/2912

Loading…
Cancel
Save