From bc2ecd0737e6cb42cd1ecad00280a7f2ed8d0718 Mon Sep 17 00:00:00 2001 From: "agdavydov81@gmail.com" Date: Fri, 24 Nov 2023 18:00:34 +0300 Subject: [PATCH] fix: fPIC option. --- native/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 9adcbf7..880ee63 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -73,7 +73,7 @@ add_definitions(-DDECIMAL_GLOBAL_EXCEPTION_FLAGS=${GLOBAL_FLAGS}) #set(CMAKE_C_VISIBILITY_PRESET default) #set(CMAKE_CXX_VISIBILITY_PRESET default) #set(CMAKE_VISIBILITY_INLINES_HIDDEN 0) -set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Position-independent code") +set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Position-independent code flag") set(CMAKE_CXX_STANDARD 11) if (MSVC)