Skip to content

Commit ee6cc7d

Browse files
committed
Use Python venv if found
Signed-off-by: Felix Kaechele <[email protected]>
1 parent 50dc287 commit ee6cc7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ if(MSVC)
5252
endif()
5353

5454
# Find packages
55+
set(Python_FIND_VIRTUALENV FIRST)
5556
find_package(Python COMPONENTS Interpreter Development.Module REQUIRED)
5657
find_package(pybind11 CONFIG REQUIRED)
5758
find_package(OpenMP)

0 commit comments

Comments
 (0)