Fix, it was for testing purpose

This commit is contained in:
Nicolas Cornu 2017-08-25 10:33:50 +02:00 committed by The Phantom Derpstorm
parent 98b65e6c27
commit 0234385f7b

View File

@ -177,7 +177,7 @@ set(HEADER_SRCS sol/as_args.hpp
sol/variadic_results.hpp
sol/wrapper.hpp)
find_package(PythonInterp 4)
find_package(PythonInterp 3)
if (PYTHONINTERP_FOUND)
add_custom_command(OUTPUT sol.hpp COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/single.py --output ${CMAKE_CURRENT_BINARY_DIR}/sol.hpp DEPENDS ${HEADER_SRCS})
add_custom_target(single_sol DEPENDS sol.hpp)