So I have built an open source project Using CMake and opened it in Visual Studio but I get this error:
Command line error D8021: invalid numeric argument '/Wl,--stack,4194304'
My CMakeLists.txt that has this:
if(WIN32) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--stack,4194304 -fpermissive") endif()
I am not sure what is this or how it can be fixed. Any help is appreciated