I am working on a project that references SOCI, which ships both static and dynamic libraries. I would like CMake to select the static version when it was available, and the dynamic one otherwise. Is there any reasonable way to do this in CMake? So far, I have not seen anything, looking through documents.
c ++ linker cmake
Sean McAllister Jan 21 '10 at 21:55 2010-01-21 21:55
source share