Hi, Here is the situation outlined: - project has Boost as optional dependency - running CMake on Linux 64-bit to build 32-bit binaries - CXXFLAGS=-m32 is specified - Boost 64-bit binaries are installed - Boost 32-bit binaries are *not* installed
Expected result: - Boost 32 is not found, Boost is *not* enabled - 32-bit build is configured without Boost at all - success Actual result: - Boost 64 is found, Boost is enabled - 32-bit build is configured to link against Boost 64-bit libraries - failure Am I missing anything in the build configuration or FindBoost.cmake is unable to do what I expect it to do, by design or by a bug? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake