On 02/06/2015 03:29 PM, Michael Smith wrote:
> The 64-bit ruby library names are:
> * lib/libx64-mscvrt-ruby210-static.a
> * lib/libx64-mscvrt-ruby210.dll.a
> * bin/x64-mscvrt-ruby210.dll
> 
> I've attached a patch that adds "x64-" prefixed lookup

Thanks for working on this.  Some of the other find modules face
similar situation.  In order to avoid finding 64-bit binaries
when targeting a 32-bit architecture, use of such prefixes could
be guarded by

 if(CMAKE_SIZEOF_VOID_P EQUAL 8)

Please revise accordingly.  Also please check whether the
non-prefixed names should ever be used for 64-bit architectures.

Thanks,
-Brad

-- 

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-developers

Reply via email to