Skip to content

Commit 906d630

Browse files
committed
Python detection update
1 parent 122b580 commit 906d630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if(LIBPOLY_BUILD_PYTHON_API)
22
add_custom_target(check
33
COMMAND
4-
PYTHONPATH=${CMAKE_BINARY_DIR}/python ${Python3_INTERPRETER} ${CMAKE_CURRENT_SOURCE_DIR}/check.py
4+
PYTHONPATH=$ENV{PYTHONPATH}:${CMAKE_BINARY_DIR}/python ${Python3_INTERPRETER} ${CMAKE_CURRENT_SOURCE_DIR}/check.py
55
DEPENDS
66
polypy
77
WORKING_DIRECTORY

0 commit comments

Comments
 (0)