<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I have project with name “DocumentLibrary” that depends on external project with name “PrinterLibrary”.</div>
<div> </div>
<div>#add external project</div>
<div>ExternalProject_add(PrinterLibrary</div>
<div> SVN_REPOSITORY ${svnPath}</div>
<div> PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependecies-sources/ PrinterLibrary</div>
<div> CMAKE_ARGS -DCMAKE_BUILD_TYPE=PowerPC -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/dependecies/</div>
<div> INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/dependecies/</div>
<div> )</div>
<div>add_dependencies(${PROJECT_NAME} PrinterLibrary)</div>
<div>target_link_libraries (${PROJECT_NAME} LINK_PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/dependecies/lib/lib PrinterLibrary.so.1.0)</div>
<div> </div>
<div>Build works fine, but CPack include also PrinterLibrary installation to debian package of DocumentLibrary.</div>
<div>See all files in data.tar.gz</div>
<div>.</div>
<div>./opt</div>
<div>./opt/lib</div>
<div>./opt/lib/libDocumentLibrary.so</div>
<div>./opt/lib/libDocumentLibrary.so.1.0.0</div>
<div>./opt/lib/libDocumentLibrary.so.1.0</div>
<div>./home</div>
<div>./home/sbellus</div>
<div>./home/sbellus/workspace_CmakeTest</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/General.cmake</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/toolchains</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/toolchains/PowerPC-Linux_0_22_0.cmake</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/buildtypes</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/buildtypes/Test.cmake</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/buildtypes/TestLib.cmake</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies-sources/PrinterLibrary/src/PrinterLibrary-build/dependecies/scripts/buildtypes/PowerPC.cmake</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies/lib</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies/lib/libPrinterLibrary.so</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies/lib/libPrinterLibrary.so.1.0.0</div>
<div>./home/sbellus/workspace_CmakeTest/DocumentLibrary/build/powerpc/dependecies/lib/libPrinterLibrary.so.1.0</div>
<div> </div>
<div>I want <font face="Wingdings">J</font> only this:</div>
<div> </div>
<div>./opt</div>
<div>./opt/lib</div>
<div>./opt/lib/libDocumentLibrary.so</div>
<div>./opt/lib/libDocumentLibrary.so.1.0.0</div>
<div>./opt/lib/libDocumentLibrary.so.1.0</div>
<div> </div>
<div>Do you have any hint how to do it?</div>
<div>Thanks in advance.</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>