From 71c0f14a46f85027b95f2f5f6d3d219cc9e3783e Mon Sep 17 00:00:00 2001 From: Josh Blum <josh@joshknows.com> Date: Sat, 8 Oct 2011 17:11:12 -0700 Subject: gr: the CMakeLists.txt took a chill pill --- gr-howto-write-a-block-cmake/python/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gr-howto-write-a-block-cmake/python') 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) -- cgit v1.2.3