<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><div># HG changeset patch</div><div># User Radhakrishnan <<a href="mailto:radhakrishnan@multicorewareinc.com" target="_blank">radhakrishnan@<wbr>multicorewareinc.com</a>></div><div># Date 1527845200 -19800</div><div># Fri Jun 01 14:56:40 2018 +0530</div><div># Node ID ef02ddaad3dcc07a7750989b21878f<wbr>82cd6c2f97</div><div># Parent 9cde2c278464be0db96d41f9605a2d<wbr>c7a3137165</div><div>Fixes cmake error "cannot find x265.pdb" when installing files for static debug build provided enable_cli is off.</div><div><br></div><div>diff -r 9cde2c278464 -r ef02ddaad3dc source/CMakeLists.txt</div><div>--- a/source/CMakeLists.txt<span style="white-space:pre-wrap"> </span>Wed May 30 20:54:07 2018 +0530</div><div>+++ b/source/CMakeLists.txt<span style="white-space:pre-wrap"> </span>Fri Jun 01 14:56:40 2018 +0530</div><div>@@ -554,7 +554,7 @@</div><div> ARCHIVE DESTINATION ${LIB_INSTALL_DIR})</div><div> endif()</div><div> install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_<wbr>config.h" DESTINATION include)</div><div>-if(WIN32)</div><div>+if((WIN32 AND ENABLE_CLI) OR (WIN32 AND ENABLE_SHARED))</div><div> if(MSVC_IDE)</div><div> install(FILES "${PROJECT_BINARY_DIR}/Debug/<wbr>x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)</div><div> install(FILES "${PROJECT_BINARY_DIR}/<wbr>RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)</div><div><div class="m_-7333718514518880660gmail_signature"><div dir="ltr"><br></div></div></div>
</div>
</div><br></div>