link_directories() command Adds two directories for each directory passed to it; one is the same as what I pass to the command and another with the appended Visual Studio $(Configuration) variable.
How do I prevent that?
link_directories() command Adds two directories for each directory passed to it; one is the same as what I pass to the command and another with the appended Visual Studio $(Configuration) variable.
How do I prevent that?
This looks like a build using the Visual Studio generator. I suspect that this is because, by default, CMake generates a subdirectory per-configuration to place libraries. This seems like the other half of that. I’m not sure if there’s a way to suppress it or not.
Cc: @brad.king
See CMake Issue 20870 and my first reply there.
Thanks; I see it, but until now I didn’t know how to solve this; I didn’t know what option to use or what policy to change. I searched a lot about that, but without any benefit. Could you tell me what I should do?
It’s an issue tracking a task to address the issue. There’s nothing to be done at the moment.