[CMake] FindBZip2 fails to set BZIP2_NEED_PREFIX if using x64

Luca Beldi Luca.Beldi at twentyfouram.com
Wed Dec 12 12:53:06 EST 2018


Hi Everyone,
I posted a bug ticket (https://gitlab.kitware.com/cmake/cmake/issues/18701) but I’m not sure if this is a bug in CMake or I just missed something.

Configuring a project that contains find_package(BZip2)

cmake "Visual Studio 14 2015" ../

will correctly produce
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
while

cmake "Visual Studio 14 2015" -A x64 ../

will erroneously show
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - not found

Using "NMake Makefiles" as generator will bear identical results for the 32 and 64 bit versions.
Tested with CMake 3.13.1

Anyone experienced this before?
Thanks,
Luca Beldi
This communication may contain privileged or confidential information. If you are not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. Any views or opinions presented are solely those of the author and do not necessarily represent those of TwentyFour Asset Management LLP or their affiliates. If you have received this communication in error, please notify us immediately by email, and delete the original message. We do not waive confidentiality by mis-transmission. This communication is directed in the UK to those persons who are Eligible Counterparties or Professional Clients (as defined by the Financial Conduct Authority). This is not an offer, or solicitation of any offer to buy or sell any security, investment or other product.

TwentyFour Asset Management LLP treats all personal data in accordance with the Data Protection Act 1998 and is duly registered with the Information Commissioner’s Office as a Data Controller. Personal data is only retained and used by us as a means of communication and will not be released to any other parties.

TwentyFour Asset Management LLP is a Limited Liability Partnership incorporated in England under Partnership No. OC335015 with its registered office at 8th Floor, The Monument Building, 11 Monument Street, London, EC3R 8AF and is authorised and regulated in the UK by the Financial Conduct Authority, FRN No.481888.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181212/995c6e96/attachment.html>


More information about the CMake mailing list