diff options
author | Johnathan Corgan | 2012-07-03 17:58:46 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-07-03 17:58:46 -0700 |
commit | b271b9d2ef0290b866f0afb22ba53c394c422418 (patch) | |
tree | 177d5c81ea5cd6f8e5873df87a3d434060e9a61f /cmake/Modules/GrMiscUtils.cmake | |
parent | 84f9822b4a8fe4290e971c09b2bd99f1bf59517b (diff) | |
parent | dbc7a4c08ac27844e413a39a326bf1b50b09dd00 (diff) | |
download | gnuradio-b271b9d2ef0290b866f0afb22ba53c394c422418.tar.gz gnuradio-b271b9d2ef0290b866f0afb22ba53c394c422418.tar.bz2 gnuradio-b271b9d2ef0290b866f0afb22ba53c394c422418.zip |
Merge branch 'master' into wip/gr-blocks-master
Diffstat (limited to 'cmake/Modules/GrMiscUtils.cmake')
-rw-r--r-- | cmake/Modules/GrMiscUtils.cmake | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cmake/Modules/GrMiscUtils.cmake b/cmake/Modules/GrMiscUtils.cmake index 189e97c7e..a73e3e6d7 100644 --- a/cmake/Modules/GrMiscUtils.cmake +++ b/cmake/Modules/GrMiscUtils.cmake @@ -208,28 +208,3 @@ function(GR_GEN_TARGET_DEPS name var) set(${var} "DEPENDS;${name};COMMAND;${name}" PARENT_SCOPE) endif() endfunction(GR_GEN_TARGET_DEPS) - - -######################################################################## -# Control availability of vmcircbuf methods. -# For now, only allows disabling of shm methods, which cause uncatchable -# segmentation faults on Cygwin with gcc 4.x (x <= 5) -# Usage: -# GR_VMCIRCBUF() -# -# Will set TRY_SHM_VMCIRCBUF to 1 by default except on Windows machines. -# Can manually set with -DTRY_SHM_VMCIRCBUF=0|1 -######################################################################## -function(GR_VMCIRCBUF) - if(WIN32) - OPTION(TRY_SHM_VMCIRCBUF "Try SHM VMCIRCBUF" OFF) - else(WIN32) - OPTION(TRY_SHM_VMCIRCBUF "Try SHM VMCIRCBUF" ON) - endif(WIN32) - - message(STATUS "TRY_SHM_VMCIRCBUF set to ${TRY_SHM_VMCIRCBUF}.") - - if(TRY_SHM_VMCIRCBUF) - add_definitions( -DTRY_SHM_VMCIRCBUF ) - endif(TRY_SHM_VMCIRCBUF) -endfunction(GR_VMCIRCBUF) |