Skip to content

Commit

Permalink
conda: set Python_EXECUTABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Apr 29, 2022
1 parent 6463819 commit 3a344e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/conda/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cd build
cmake -G "Ninja" ^
-D CMAKE_BUILD_TYPE="Release" ^
-D CMAKE_INSTALL_PREFIX:FILEPATH=%LIBRARY_PREFIX% ^
-D Python_EXECUTABLE:FILEPATH=%PREFIX%/python ^
..


Expand Down
1 change: 1 addition & 0 deletions packaging/conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PIVY_CPP_FLAGS='-std=c++1z '
cmake -G "Ninja" \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \
-D Python_EXECUTABLE:FILEPATH=$PREFIX/bin/python \
..

ninja install

0 comments on commit 3a344e1

Please sign in to comment.