From ba2a16139ac756fad8d478e97ff39075e175235b Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 16 Jul 2020 17:43:07 +0200 Subject: cmakerc: Remove patch to CMakeRC.cmake (and move it one level up) UHD's version of CMakeRC.cmake was patched from the upstream (see also 933eca1) to enable -fPIC for the RC targets. This can also be done outside of said file, avoiding us having to carry a patched version of CMakeRC, and using the vanilla upstream version instead. --- host/lib/rc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/rc') diff --git a/host/lib/rc/CMakeLists.txt b/host/lib/rc/CMakeLists.txt index d2a01bffb..52b6693c0 100644 --- a/host/lib/rc/CMakeLists.txt +++ b/host/lib/rc/CMakeLists.txt @@ -10,3 +10,4 @@ cmrc_add_resource_library(uhd-resources NAMESPACE rc cal/test.cal ) +set_property(TARGET uhd-resources PROPERTY POSITION_INDEPENDENT_CODE ON) -- cgit v1.2.3