Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CMake option to remove version number from libraries

I am using CMake on Windows and Visual Studio 10 to build OpenCV. I would like to build OpenCV without the version being part of the library name. Currently I get: opencv_core244d.lib and I would like to get opencv_cored.lib. While I can do this in a script, I'd like to see how I can configure CMake to do this.

Any thoughts?