diff --git a/cpp/cmake_modules/UseCython.cmake b/cpp/cmake_modules/UseCython.cmake index 7d88daa4fad..fd558d78ca7 100644 --- a/cpp/cmake_modules/UseCython.cmake +++ b/cpp/cmake_modules/UseCython.cmake @@ -154,9 +154,7 @@ function(compile_pyx "${CMAKE_CURRENT_BINARY_DIR}/${output_file}" "${CMAKE_CURRENT_SOURCE_DIR}/${pyx_file}" DEPENDS ${pyx_location} - # Do not specify byproducts for now since they don't work with the older - # version of cmake available in the apt repositories. - #BYPRODUCTS ${_generated_files} + BYPRODUCTS ${_generated_files} COMMENT ${comment}) # Remove their visibility to the user.