[CMake] CMAKE_DEBUG_POSTFIX not working on linux

Philippe Fortier philippe.fortier at resonantmedical.com
Wed Oct 20 08:50:03 EDT 2004


Hi everyone,

I have a library project created by cmake in which I use
CMAKE_DEBUG_POSTFIX = "_d" to set the value of the library in debug. On
Windows, with MSVC 7, it works fine, but the same project on linux, it
does not generate the lib name with the extension. It's really annoying
because other CMake projects links with this lib with the
debug/optimized flag in it.... So all other projects does not find my
library when linking in debug.

Thanks for your help,

Philippe Fortier
Software Developer
Resonant Medical



More information about the CMake mailing list