Drop /lib32 and /lib64 from link directories and RPATH (#14875)

Extend CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES with these paths.  We
already have the equivalents under /usr.  Systems that have these
directories have their dynamic loaders configured already.  Do not allow
them to appear in the RPATH explicitly.
This commit is contained in:
Brad King 2014-04-16 11:35:31 -04:00
parent a48de7d850
commit cc57ff5c49
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ list(APPEND CMAKE_SYSTEM_PROGRAM_PATH
) )
list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
/lib /usr/lib /usr/lib32 /usr/lib64 /lib /lib32 /lib64 /usr/lib /usr/lib32 /usr/lib64
) )
list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES