I am building using cmake -DCMAKE_BUILD_TYPE=Debug ..
And I am using set(CMAKE_DEBUG_POSTFIX d) to add a d to the end of the filename.
This is working for static libraries and I expected it to work for executables as well. But, at least in my case, it is compiling all the static libraries using *d.a and the executable without d suffix.
Am I missing something?