diff --git a/README.md b/README.md index f037d8c1b..ec8dc5b03 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Download & Install Instructions * Optional requirements: * srsgui: for real-time plotting. Download it here: https://github.com/srslte/srsgui * VOLK: if the VOLK library and headers are detected, they will be used for accelerating some signal processing functions. - * Matlab/Octave: if found by CMake, MEX files will also be generated and installed. If you find any compilation issue with MEX and you don't need them, pass -DDisableMex=ON to cmake to disable them. + * Matlab/Octave: if found by CMake, MEX files will also be generated and installed. If you find any compilation issue with MEX and you don't need them, pass -DDisableMEX=ON to cmake to disable them. Download and build srsLTE: ``` diff --git a/srslte/examples/CMakeLists.txt b/srslte/examples/CMakeLists.txt index 1d03ca2f6..4fa3eab90 100644 --- a/srslte/examples/CMakeLists.txt +++ b/srslte/examples/CMakeLists.txt @@ -59,6 +59,7 @@ ENDIF(UHD_FOUND) FIND_PACKAGE(SRSGUI) IF(SRSGUI_FOUND) + include_directories(${SRSGUI_INCLUDE_DIRS}) target_link_libraries(pdsch_ue ${SRSGUI_LIBRARIES}) ELSE(SRSGUI_FOUND) add_definitions(-DDISABLE_GRAPHICS) diff --git a/srslte/lib/CMakeLists.txt b/srslte/lib/CMakeLists.txt index 1bd38c370..e0badee67 100644 --- a/srslte/lib/CMakeLists.txt +++ b/srslte/lib/CMakeLists.txt @@ -74,6 +74,8 @@ IF(UHD_FOUND) LINK_DIRECTORIES(${UHD_LIBRARY_DIRS}) ADD_LIBRARY(srslte_uhd SHARED ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_imp.cpp ${CMAKE_CURRENT_SOURCE_DIR}/cuhd/src/cuhd_utils.c) TARGET_LINK_LIBRARIES(srslte_uhd ${UHD_LIBRARIES}) + INSTALL(TARGETS srslte_uhd DESTINATION ${LIBRARY_DIR}) + SRSLTE_SET_PIC(srslte_uhd) ENDIF(UHD_FOUND) INSTALL(TARGETS srslte DESTINATION ${LIBRARY_DIR})