<div>Normally we use target_link_libraries to link against certain libraries. For example:</div>
<div> </div>
<div>target_link_libraries ( mytarget A B C )</div>
<div> </div>
<div>Well when I am working on creating regressions tests for my library, called mytarget, I would use the same CMake command to link against the </div>
<div>boost unit test framework library. What I curious to know is it possible to set properties for a specific library, e.g. B in this scenario, to say that</div>
<div>the build should always link against a static library even if the shared library is present?</div>
<div> </div>
<div>So in this case A and C would be linked as shared but B would be linked as static.</div>
<div> </div>
<div>Stephen</div>