diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-28 11:47:51 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-28 11:47:51 -0700 |
commit | ca8fdc31088c260316499c1c27a7ba5a6f3f87f2 (patch) | |
tree | 28e1b76b82bdae5af9303a84f5388f0e7b77df83 /cmake | |
parent | 8d5e4f6df72b3b3bff601409310678d9c58e78be (diff) | |
parent | 3fc55073f28ec97036dfe3f5ff9d9a7491f3ea80 (diff) |
Merge branch 'master' into next
Conflicts:
gr-digital/swig/CMakeLists.txt
gr-digital/swig/digital_swig.i
gr-trellis/swig/CMakeLists.txt
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrPlatform.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/Modules/GrPlatform.cmake b/cmake/Modules/GrPlatform.cmake index fbbea5fee0..00a53d04d9 100644 --- a/cmake/Modules/GrPlatform.cmake +++ b/cmake/Modules/GrPlatform.cmake @@ -51,4 +51,12 @@ endif() if(NOT DEFINED LIB_SUFFIX AND LIB64_CONVENTION AND CMAKE_SYSTEM_PROCESSOR MATCHES "64$") set(LIB_SUFFIX 64) endif() + +######################################################################## +# Detect /lib versus /lib64 +######################################################################## +if (CMAKE_INSTALL_LIBDIR MATCHES lib64) + set(LIB_SUFFIX 64) +endif() + set(LIB_SUFFIX ${LIB_SUFFIX} CACHE STRING "lib directory suffix") |