Hi all, why does FindBoost use the version of the currently installed MinGW compiler to find the Boost libs instead of the version encoded in the Boost lib filenames (for MinGW compiler versions 1.34 and above)? Doing so only necessitates the use of -DBoost_COMPILER=-mgw<ver>. Excerpt from FindBoost:

    elseif (MINGW)

      if(${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} VERSION_LESS 1.34)

          set(_boost_COMPILER "-mgw") # no GCC version encoding prior to 1.34

      else()

        _Boost_COMPILER_DUMPVERSION(_boost_COMPILER_VERSION)

        set(_boost_COMPILER "-mgw${_boost_COMPILER_VERSION}")

      endif()

--

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