Skip to content

Commit

Permalink
Set Python3_FIND_STRATEGY=Location (#131)
Browse files Browse the repository at this point in the history
To cover situations where the version of the Python interpreter provided by the OS is newer than the one in the Conda env.

Fixes #75

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #131
  • Loading branch information
dagardner-nv authored May 27, 2022
1 parent 2710f93 commit 81bb6d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions morpheus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ option(MORPHEUS_PYTHON_INPLACE_BUILD
"Whether or not to copy built python modules back to the source tree for debug purposes." OFF)

set(Python3_FIND_VIRTUALENV "FIRST")
set(Python3_FIND_STRATEGY "LOCATION")
find_package(Python3 REQUIRED COMPONENTS Development Interpreter NumPy)

# Check if SKlearn is installed
Expand Down

0 comments on commit 81bb6d1

Please sign in to comment.