<table><tr><td style="">aacid added a comment.
</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/D11967">View Revision</a></tr></table><br /><div><div><p>hmmm, this is weird, i don't really need this, the current code works for me</p>

<p>MESSAGE("LibSpectre_FOUND: ${LibSpectre_FOUND}")</p>

<p>just after the find_package says <br />
LibSpectre_FOUND: TRUE<br />
here when running on a clean build dir.</p>

<p>But it is true that ${LIBSPECTRE_FOUND} also prints true.</p>

<p>About the add_definitions you should not need it, the generated<br />
src/lib/config-cantorlib.h<br />
already has that define, just make sure you include that file wherever you need it.</p>

<p>Maybe my cmake is newer? I'm on cmake 3.10.3</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R55 Cantor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11967">https://phabricator.kde.org/D11967</a></div></div><br /><div><strong>To: </strong>asemke, Cantor, aacid, apol, sirgienko, filipesaraiva<br /><strong>Cc: </strong>aacid, apol, KDE Edu, narvaez<br /></div>