From 185ac3ec775c1b2fa6d8378f7fe02c2299672e61 Mon Sep 17 00:00:00 2001 From: Twarit Waikar Date: Sun, 17 May 2020 18:51:41 +0530 Subject: [PATCH] Update CMakeLists.txt --- godot-git-plugin/thirdparty/libgit2/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/godot-git-plugin/thirdparty/libgit2/CMakeLists.txt b/godot-git-plugin/thirdparty/libgit2/CMakeLists.txt index 8264158..a55323b 100644 --- a/godot-git-plugin/thirdparty/libgit2/CMakeLists.txt +++ b/godot-git-plugin/thirdparty/libgit2/CMakeLists.txt @@ -43,6 +43,7 @@ INCLUDE(EnableWarnings) # Build options # +set(CMAKE_POSITION_INDEPENDENT_CODE ON) OPTION(SONAME "Set the (SO)VERSION of the target" ON) OPTION(BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON) OPTION(THREADSAFE "Build libgit2 as threadsafe" ON)