diff options
author | Johnathan Corgan | 2012-03-12 09:57:38 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-03-12 09:57:38 -0700 |
commit | 7a3a0b531c79925b8ea291471534e5a1c2693ba8 (patch) | |
tree | ea4d49784ebb0152e5a55d87c467fb2f95f04ae2 | |
parent | 502d7466f7659154b015e6ce94eafad569604cb1 (diff) | |
parent | 8e013157752f1b42665430fde0f1c6f7d7147153 (diff) | |
download | gnuradio-7a3a0b531c79925b8ea291471534e5a1c2693ba8.tar.gz gnuradio-7a3a0b531c79925b8ea291471534e5a1c2693ba8.tar.bz2 gnuradio-7a3a0b531c79925b8ea291471534e5a1c2693ba8.zip |
Merge branch 'maint'
-rw-r--r-- | cmake/Modules/GrPlatform.cmake | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cmake/Modules/GrPlatform.cmake b/cmake/Modules/GrPlatform.cmake index ce2e15fef..dde65cee5 100644 --- a/cmake/Modules/GrPlatform.cmake +++ b/cmake/Modules/GrPlatform.cmake @@ -37,10 +37,18 @@ if(LINUX AND EXISTS "/etc/redhat-release") set(REDHAT TRUE) endif() +if(LINUX AND EXISTS "/etc/slackware-version") + set(SLACKWARE TRUE) +endif() + ######################################################################## # when the library suffix should be 64 (applies to redhat linux family) ######################################################################## -if(NOT DEFINED LIB_SUFFIX AND REDHAT AND CMAKE_SYSTEM_PROCESSOR MATCHES "64$") +if (REDHAT OR SLACKWARE) + set(LIB64_CONVENTION TRUE) +endif() + +if(NOT DEFINED LIB_SUFFIX AND LIB64_CONVENTION AND CMAKE_SYSTEM_PROCESSOR MATCHES "64$") set(LIB_SUFFIX 64) endif() set(LIB_SUFFIX ${LIB_SUFFIX} CACHE STRING "lib directory suffix") |