[cmake-developers] The lib64 case

Brad King brad.king at kitware.com
Mon Mar 26 11:01:38 EDT 2012


On 3/26/2012 10:49 AM, Rolf Eike Beer wrote:
> For the beginning I added 2 obvious cleanups to the "lib64-cleanup" topic on
> stage. If noone objects I'll merge them to next soon.

Thanks.  In FindBLAS:

    if (WIN32)
      set(_libdir ENV LIB)
    elseif (APPLE)
-    set(_libdir /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64 ENV DYLD_LIBRARY_PATH)
+    set(_libdir /usr/local/lib /usr/lib ENV DYLD_LIBRARY_PATH)
    else ()
-    set(_libdir /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64 ENV LD_LIBRARY_PATH)
+    set(_libdir /usr/local/lib /usr/lib ENV LD_LIBRARY_PATH)
    endif ()

I do not think any of the non-ENV paths is needed.  Those are all
standard locations.

-Brad



More information about the cmake-developers mailing list