<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>On 02/21/2017 02:48 PM, Lars wrote:<br>
    </p>
    <blockquote
cite="mid:HE1PR0301MB2233E1FF0BF87B59F4B4B1E2CA510@HE1PR0301MB2233.eurprd03.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>Hello,</p>
        <p><br>
        </p>
        <p>We are using the "config" mode of Find_Package that locates
          CompConfig.cmake which create IMPORTED targets.</p>
        <p><br>
        </p>
        <p>CMakeLists.txt</p>
        <p>Find_Package(some_comp ${some_comp_path})</p>
        <p><br>
        </p>
        <p>CompConfig.cmake;</p>
        <p>add_executable(app IMPORTED)</p>
        <p>add_library(lib SHARED <span>IMPORTED)</span></p>
        <p><br>
        </p>
        <p>This works fine and once I read <a moz-do-not-send="true"
            class="OWAAutoLink" id="LPlnk171978"
            href="https://public.kitware.com/Bug/view.php?id=14311"
            previewremoved="true">
            https://public.kitware.com/Bug/view.php?id=14311</a> I
          managed to get 'make install' to include the IMPORTED targets.</p>
      </div>
    </blockquote>
    <br>
    What exactly did you take from the issue report?<br>
    What are your install() commands?<br>
    <br>
    Everything installed by "make install" should also land in the
    package assuming what ever install logic you used honors the install
    time CMAKE_INSTALL_PREFIX as set up by CPack.<br>
    <br>
    Nils<br>
  </body>
</html>