title: Link only static library when both static and shared C++ libraries are present in lib folder
body: <p>I am using conan as dependency manager and cmake as build tool. I have some pre-built third party libraries present, which have both shared and static libraries in the lib folder ( .a and .so files ). My plan is to create conan packages from those pre-built libraries, and use them to build application</p>
  
  <p>When I try to link the libraries while building the application, it links shared libraries by default. But I want to use the static libraries for an specific application.</p>
  
  <p>One way to solve the problem is to create two separate conan packages for static and shared libraries and include the required static package in the conanfile, but that will lead to redundancy for Artifact management ( Same header files will be present in multiple packages ).</p>
  
  <p>Is there a better way there by making any changes to the conanfile.py or CMakeLists.txt, so that I can link static libraries and not shared libraries, even if similar shared libraries are present in the same lib file ( e.g. libX.a and libX.so both are there in the same lib folder )?</p>