diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-09-15 15:01:48 -0600 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-09-15 15:04:29 -0600 |
commit | 7ad6ff1b3e3d6d078ad7fb223faa72b36d311d37 (patch) | |
tree | a9c1dd0b079071a8758d0bc5f88f7a4eb4cc8bad /gr-uhd | |
parent | 3406fb5e2e559875fda527429d4ab8ff9fbf6e90 (diff) |
uhd: Fix order of include dirs
Boost_INCLUDE_DIRS could previously "undo" UHD_INCLUDE_DIRS if it
pointed to the same location as a UHD installation that was *not*
selected via UHD_INCLUDE_DIRS.
Diffstat (limited to 'gr-uhd')
-rw-r--r-- | gr-uhd/lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gr-uhd/swig/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/CMakeLists.txt b/gr-uhd/lib/CMakeLists.txt index b57b80b557..b30a0d6b07 100644 --- a/gr-uhd/lib/CMakeLists.txt +++ b/gr-uhd/lib/CMakeLists.txt @@ -21,12 +21,12 @@ # Setup the include and linker paths ######################################################################## include_directories( + ${UHD_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ${GR_UHD_INCLUDE_DIRS} ${GNURADIO_RUNTIME_INCLUDE_DIRS} ${LOG4CXX_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} - ${UHD_INCLUDE_DIRS} ) link_directories( diff --git a/gr-uhd/swig/CMakeLists.txt b/gr-uhd/swig/CMakeLists.txt index ef54761d0f..163ca8f638 100644 --- a/gr-uhd/swig/CMakeLists.txt +++ b/gr-uhd/swig/CMakeLists.txt @@ -26,10 +26,10 @@ include(GrSwig) set(GR_SWIG_FLAGS -DGR_HAVE_UHD) #needed to parse uhd_swig.i set(GR_SWIG_INCLUDE_DIRS + ${UHD_INCLUDE_DIRS} ${GR_UHD_INCLUDE_DIRS} ${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} - ${UHD_INCLUDE_DIRS} ) if(ENABLE_GR_CTRLPORT) |