Hi,

I have a project which I want to compile on a 64Bit Ubuntu host to a
32Bit executable. It uses boost. I have the 32bit boost libraries in
/boost32bit.
To compile for 32bit I add -m32 to the CFLAGS/CXXFLAGS.

Now when cmake searches for boost, it finds the boost libraries in
/usr/lib (which are 64bit).
So how can I:
- tell cmake to ignore 64bit libraries and always search only for 32bit
libraries?
- add /boost32bit to the cmake linker path?

Thanks!
Nathan
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to