[CMake] Extend FIND_LIBRARY to properly recognize debug libs
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Wed Sep 19 02:40:29 EDT 2007
Hi,
For now cmake has the option to set a debug postifx for debug libs/executables by one simple command:
set(CMAKE_DEBUG_POSTFIX "_d")
It would be nice to extend FIND_LIBRARY in a way that its possible to give that debug postfix so avoid code duplication everywhere you want to explicit set a different debug and release lib.
e.g. FIND_LIBRARY(kdewin32 DEBUG_POSTFIX "_d" ...)
Is it possible to add such a functionality for 2.6?
Christian
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the CMake
mailing list