Skip to content

Commit

Permalink
specify python interpreter for cxxtestgen
Browse files Browse the repository at this point in the history
  • Loading branch information
tfussell committed Mar 17, 2017
1 parent fe041b9 commit d7cd24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ endif()
find_package(PythonInterp REQUIRED)

add_custom_command(OUTPUT ${RUNNER}
COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS}
COMMAND ${PYTHON_EXECUTABLE} ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS}
DEPENDS ${TESTS}
COMMENT "Generating test runner ${RUNNER}")

Expand Down

0 comments on commit d7cd24c

Please sign in to comment.