diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt
index 5cd2261d5..7e7349592 100644
--- a/libs/CMakeLists.txt
+++ b/libs/CMakeLists.txt
@@ -304,7 +304,7 @@ endif()
 ExternalProject_Add(mgcxx-proj
   PREFIX         mgcxx-proj
   GIT_REPOSITORY https://github.com/memgraph/mgcxx
-  GIT_TAG        "origin/optional-dep"
+  GIT_TAG        "origin"
   CMAKE_ARGS
     "-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>"
     "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"