How to link library with suffix d for debug?

CMake will take this literally, so it will never see x64. You’ll need to compute this based on whatever information you have and set a CMake variable appropriately.

1 Like