From 1263d01968e96714b4b6ad12104570231b2b811f Mon Sep 17 00:00:00 2001 From: NathanielMcVicar <61472752+NathanielMcVicar@users.noreply.github.com> Date: Tue, 21 Jul 2020 23:15:25 -0700 Subject: [PATCH] Add PIC property to RtMemRefUtils (#225) Co-authored-by: Gheorghe-Teodor Bercea Co-authored-by: Tian Jin --- src/Runtime/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Runtime/CMakeLists.txt b/src/Runtime/CMakeLists.txt index 82137fa..6107172 100644 --- a/src/Runtime/CMakeLists.txt +++ b/src/Runtime/CMakeLists.txt @@ -15,6 +15,8 @@ add_library(RtMemRefUtils RtMemRef.h RtMemRef.cpp DataType.h) +set_target_properties(RtMemRefUtils PROPERTIES + POSITION_INDEPENDENT_CODE TRUE) add_library(ExecutionSession ExecusionSession.hpp