diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3497c61b60f8..a76da360c872 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -63,8 +63,9 @@ add_third_party( add_third_party( reflex - URL https://github.com/Genivia/RE-flex/archive/refs/tags/v3.5.1.tar.gz - CONFIGURE_COMMAND /configure --disable-avx --prefix=${THIRD_PARTY_LIB_DIR}/reflex + URL https://github.com/Genivia/RE-flex/archive/refs/tags/v5.1.0.tar.gz + PATCH_COMMAND autoreconf -fi + CONFIGURE_COMMAND /configure --disable-avx2 --prefix=${THIRD_PARTY_LIB_DIR}/reflex CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER} )