diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-08 17:11:12 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-10-08 17:11:12 -0700 |
commit | 71c0f14a46f85027b95f2f5f6d3d219cc9e3783e (patch) | |
tree | 046d89555243ede65bfc7bc0a6cbfc7f870ff4cb /gr-howto-write-a-block-cmake/python | |
parent | 63b87bf4e6e9a2f1112c17c57796b69b3b8a2b3e (diff) |
gr: the CMakeLists.txt took a chill pill
Diffstat (limited to 'gr-howto-write-a-block-cmake/python')
-rw-r--r-- | gr-howto-write-a-block-cmake/python/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-howto-write-a-block-cmake/python/CMakeLists.txt b/gr-howto-write-a-block-cmake/python/CMakeLists.txt index 6208f8a870..5da80ef15c 100644 --- a/gr-howto-write-a-block-cmake/python/CMakeLists.txt +++ b/gr-howto-write-a-block-cmake/python/CMakeLists.txt @@ -20,10 +20,10 @@ ######################################################################## # Include python install macros ######################################################################## -INCLUDE(GrPython) -IF(NOT PYTHONINTERP_FOUND) - RETURN() -ENDIF() +include(GrPython) +if(NOT PYTHONINTERP_FOUND) + return() +endif() ######################################################################## # Install python sources @@ -37,8 +37,8 @@ GR_PYTHON_INSTALL( ######################################################################## # Handle the unit tests ######################################################################## -INCLUDE(GrTest) +include(GrTest) -SET(GR_TEST_TARGET_DEPS gnuradio-howto) -SET(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig) +set(GR_TEST_TARGET_DEPS gnuradio-howto) +set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig) GR_ADD_TEST(qa_howto ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_howto.py) |