[CMake] static library linking

Brad King brad.king at kitware.com
Sun Jun 15 15:01:45 EDT 2008


Steven Van Ingelgem wrote:
> I don't know why, but if I take the build command from cmake, and I
> insert the static libraries in there, it works all right. So somehow
> it's reverting itself to some other version of the static and/or dynamic
> libraries.
> 
> The entire point of me reporting this in fact is that in cmake cvs this
> should have been resolved... Meaning that if I say in my CMakeLists file
> to link against the static library, it should just keep that link... Not
> try to be smart and change it ;-).

http://www.cmake.org/Wiki/CMake_2.6_Notes#Linking_to_System_Libraries

-Brad


More information about the CMake mailing list