You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
I am using vcpkg in Visual Studio by default and no one except vcpkg is allowed to redefine add_executable, otherwise you're stuck in an infitie recursion, because add_executable calls itself.
The error is:
1> [CMake] Maximum recursion depth of 1000 exceeded
Here are the necessary fixes to the CMakeLists.txt:
Hi!
Thank you for these great in depth tutorials!
I am using vcpkg in Visual Studio by default and no one except vcpkg is allowed to redefine
add_executable
, otherwise you're stuck in an infitie recursion, becauseadd_executable
calls itself.The error is:
Here are the necessary fixes to the
CMakeLists.txt
:So basically just rename
add_executable
to something else. Maybe you find a more fitting name thanmy_add_executable
.The text was updated successfully, but these errors were encountered: