<table><tr><td style="">heikobecker created this revision.<br />Herald added a project: Calligra: 3.0.<br />Herald added a subscriber: Calligra-Devel-list.<br />heikobecker requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18866">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>check_function_exists has some shortcomings, which fails to detect<br />
isnan when build against musl libc. The cmake documentation [1]<br />
suggests to prefer check_symbol_exists, which detects isnan/isinf<br />
fine on both glibc and musl.</p>
<p>[1] <a href="https://cmake.org/cmake/help/latest/module/CheckFunctionExists.html#command:check_function_exists" class="remarkup-link" target="_blank" rel="noreferrer">https://cmake.org/cmake/help/latest/module/CheckFunctionExists.html#command:check_function_exists</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Builds with glibc and musl</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R8 Calligra</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18866">https://phabricator.kde.org/D18866</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>filters/words/msword-odf/wv2/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>heikobecker<br /><strong>Cc: </strong>Calligra-Devel-list, dcaliste, cochise, vandenoever<br /></div>