On 1/11/2012 12:04 PM, Rolf Eike Beer wrote:
That was me. I pushed a topic to stage yesterday for review that improved
FindBZip2.cmake to detect the debug library on Windows and handle both
optimized and debug variants. CMake preloads the BZIP2_LIBRARIES variable with
cmbzip2, which currently is ignored in that new thing.

The top-level CMakeLists.txt file in CMake needs to pre-load BZIP2_*
with whatever is needed to convince find_package(BZIP2) to use the
CMake-built cmbzip2 library.  If you're changing the Find module for
it then what needs to be pre-loaded may depend on which version of
CMake is used to configure the build of CMake.  It's a bit tricky.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to