Skip to content

Commit

Permalink
fix python path for conda builds
Browse files Browse the repository at this point in the history
- fixes #187
  • Loading branch information
casperdcl committed Mar 26, 2024
1 parent 2403627 commit 770ee3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ project(regulariserPython)
message(STATUS "Creating Python Wrapper")
#include (GenerateExportHeader)

set(Python_FIND_REGISTRY LAST) # prefer active over base conda env
set(Python_FIND_VIRTUALENV STANDARD) # use PATH to search
find_package(Python COMPONENTS Interpreter REQUIRED)

set(PIP_CMAKE_DEPS cilreg)
Expand Down

0 comments on commit 770ee3f

Please sign in to comment.