I'm hoping I'm just missing something really obvious but I recently
discovered the module GNUInstallDirs which is great. But I just tried
converting over to it on one of my projects and although my system is
definitely x86_64 the libraries are getting installed to lib not lib64.

I looked through the source and it seems the CMAKE_SIZEOF_VOID_P is being
used to make the determination.

I added a debug message to my project for CMAKE_SIZEOF_VOID_P and it shows
nothing, but per the module if it's not defined then it should show me a
warning, however if I try:

$ cmake --system-information | grep SIZEOF_VOID_P
CMAKE_SIZEOF_VOID_P "8"

I get the right answer, but it's still installing to lib not lib64...

Any ideas?

Thanks,
Richard
-- 

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

Reply via email to