Skip to content

Commit

Permalink
🩹 add back Python variables to find the right Python
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Jan 13, 2024
1 parent e872549 commit 3005540
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ if(BUILD_MQT_QCEC_BINDINGS)
set(BINDINGS
ON
CACHE INTERNAL "Enable settings related to Python bindings")
set(Python_FIND_VIRTUALENV
FIRST
CACHE STRING "Give precedence to virtualenvs when searching for Python")
set(Python_ARTIFACTS_INTERACTIVE
ON
CACHE
BOOL
"Prevent multiple searches for Python and instead cache the results.")
# top-level call to find Python
find_package(
Python 3.8 REQUIRED
Expand Down

0 comments on commit 3005540

Please sign in to comment.