diff options
author | Johnathan Corgan | 2011-12-14 17:00:57 -0800 |
---|---|---|
committer | Johnathan Corgan | 2011-12-14 17:00:57 -0800 |
commit | 21a79f683ef7c3b0c6337120d056fde452055254 (patch) | |
tree | 05b82bdf3ed737ac552c04b6ee95da4989de0299 /cmake/Modules/GrPython.cmake | |
parent | 73538627386205c25b87f7657ab6e8dd774f4cd3 (diff) | |
parent | 13e3ee121c65c4db1b9e219284ff8ab7775822b6 (diff) | |
download | gnuradio-21a79f683ef7c3b0c6337120d056fde452055254.tar.gz gnuradio-21a79f683ef7c3b0c6337120d056fde452055254.tar.bz2 gnuradio-21a79f683ef7c3b0c6337120d056fde452055254.zip |
Merge branch 'master' into next
Diffstat (limited to 'cmake/Modules/GrPython.cmake')
-rw-r--r-- | cmake/Modules/GrPython.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake index efdddf371..e8e07b244 100644 --- a/cmake/Modules/GrPython.cmake +++ b/cmake/Modules/GrPython.cmake @@ -77,7 +77,9 @@ macro(GR_PYTHON_CHECK_MODULE desc mod cmd have) COMMAND ${PYTHON_EXECUTABLE} -c " ######################################### try: import ${mod} -except: exit(-1) +except: + try: ${mod} + except: exit(-1) try: assert ${cmd} except: exit(-1) #########################################" |