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-uhd/examples | |
parent | 63b87bf4e6e9a2f1112c17c57796b69b3b8a2b3e (diff) |
gr: the CMakeLists.txt took a chill pill
Diffstat (limited to 'gr-uhd/examples')
-rw-r--r-- | gr-uhd/examples/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gr-uhd/examples/CMakeLists.txt b/gr-uhd/examples/CMakeLists.txt index f5890a484d..9e92b89d7a 100644 --- a/gr-uhd/examples/CMakeLists.txt +++ b/gr-uhd/examples/CMakeLists.txt @@ -20,28 +20,28 @@ ######################################################################## # Setup the include and linker paths ######################################################################## -INCLUDE_DIRECTORIES( +include_directories( ${GNURADIO_CORE_INCLUDE_DIRS} ${GR_UHD_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} ) -INCLUDE_DIRECTORIES(${UHD_INCLUDE_DIRS}) -LINK_DIRECTORIES(${UHD_LIBRARY_DIRS}) +include_directories(${UHD_INCLUDE_DIRS}) +link_directories(${UHD_LIBRARY_DIRS}) -INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) -LINK_DIRECTORIES(${Boost_LIBRARY_DIRS}) +include_directories(${Boost_INCLUDE_DIRS}) +link_directories(${Boost_LIBRARY_DIRS}) ######################################################################## # Build executable ######################################################################## -ADD_EXECUTABLE(tags_demo tags_demo.cc) -TARGET_LINK_LIBRARIES(tags_demo gnuradio-uhd) +add_executable(tags_demo tags_demo.cc) +target_link_libraries(tags_demo gnuradio-uhd) ######################################################################## # Python examples ######################################################################## -IF(ENABLE_PYTHON) +if(ENABLE_PYTHON) GR_PYTHON_INSTALL( PROGRAMS fm_tx4.py @@ -72,4 +72,4 @@ GR_PYTHON_INSTALL( DESTINATION ${GR_PKG_DATA_DIR}/examples/multi-antenna COMPONENT "uhd_python" ) -ENDIF(ENABLE_PYTHON) +endif(ENABLE_PYTHON) |