From b51250eeec584baf0144a9d43a847b960904c19b Mon Sep 17 00:00:00 2001 From: hshakula Date: Tue, 6 Jul 2021 20:39:05 +0300 Subject: [PATCH] Enable PIC for murmurhash dependency --- deps/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index ad9c09bab..bf0038638 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -82,5 +82,6 @@ add_library(murmurhash STATIC ${MURMURHASH_DIR}/MurmurHash3.h ${MURMURHASH_DIR}/MurmurHash3.cpp) target_include_directories(murmurhash PUBLIC ${MURMURHASH_DIR}) +set_target_properties(murmurhash PROPERTIES POSITION_INDEPENDENT_CODE ON) # ----------------------------------------------