diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a7621b8f..3d25ff1c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1168,6 +1168,11 @@ if(NOT VOLKGNSSSDR_FOUND) INTERFACE_INCLUDE_DIRECTORIES "${VOLK_GNSSSDR_INCLUDE_DIRS}" INTERFACE_LINK_LIBRARIES "${VOLK_GNSSSDR_LIBRARIES}" ) + if(CMAKE_VERSION VERSION_GREATER 3.0) # and GCC, and Clang and PYTHON... + set_target_properties(Volkgnsssdr::volkgnsssdr PROPERTIES + INTERFACE_LINK_LIBRARIES ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} + ) + endif() endif() if(CMAKE_VERSION VERSION_LESS 3.2) diff --git a/docs/changelog.md b/docs/changelog.md index ce8bcd36d..32c6239c6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -31,6 +31,15 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades