[CMake] (missing: BZIP2_LIBRARIES) (found version "1.0.6")??
Peter Kümmel
syntheticpp at gmx.net
Mon Jun 4 16:55:43 EDT 2012
On 04.06.2012 21:13, Dave Abrahams wrote:
>>
>> OK, but I can't reproduce it on Ubuntu 12.04 64bit,
>> so I thought it must be something else-
>
> Oh, now that's odd. I wonder why it isn't working for me?
>
I've not tested on Ubuntu but LinuxMint 13, but I think that
should make no difference.
If you have the time, maybe it's better to start from scratch.
Attached the CMakeLists.txt which I've used.
It produces this output in an empty build folder
(after apt-get install libbz2-dev):
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/synth/sandbox/cmake/test
If you don't have a this output I will also set up a Ubuntu 12.04 and see what happens.
Peter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120604/4e80b00f/attachment.txt>
More information about the CMake
mailing list