diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-13 18:15:47 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-13 18:15:47 -0700 |
commit | 3f1d313c9ffd30c70c609748696b746633e47a8a (patch) | |
tree | 59017c35546eaa6387a955f61a52937962ea5d71 /host/lib | |
parent | a4b1c4485ac6394c3d67d11d844fc4cff56307d8 (diff) | |
download | uhd-3f1d313c9ffd30c70c609748696b746633e47a8a.tar.gz uhd-3f1d313c9ffd30c70c609748696b746633e47a8a.tar.bz2 uhd-3f1d313c9ffd30c70c609748696b746633e47a8a.zip |
uhd: moved cpack stuff into config dir (work on cpack)
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/CMakeLists.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index d13c43bfb..cc60dfbba 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -16,32 +16,6 @@ # ######################################################################## -# Setup Python -######################################################################## -INCLUDE(FindPythonInterp) - -MACRO(PYTHON_CHECK_MODULE module have) - MESSAGE(STATUS "Checking for python module ${module}") - EXECUTE_PROCESS( - COMMAND ${PYTHON_EXECUTABLE} -c "import ${module}" - RESULT_VARIABLE ${have} - ) - IF(${have} EQUAL 0) - MESSAGE(STATUS "Checking for python module ${module} - found") - SET(${have} TRUE) - ELSE(${have} EQUAL 0) - MESSAGE(STATUS "Checking for python module ${module} - not found") - SET(${have} FALSE) - ENDIF(${have} EQUAL 0) -ENDMACRO(PYTHON_CHECK_MODULE) - -PYTHON_CHECK_MODULE("Cheetah" HAVE_PYTHON_MODULE_CHEETAH) - -IF(NOT HAVE_PYTHON_MODULE_CHEETAH) - MESSAGE(FATAL_ERROR "Error: Cheetah Templates needed for pre-build generation.") -ENDIF(NOT HAVE_PYTHON_MODULE_CHEETAH) - -######################################################################## # Helpful Macros ######################################################################## MACRO(LIBUHD_APPEND_SOURCES) |