Skip to content

Commit

Permalink
fix: fPIC option.
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Nov 24, 2023
1 parent 014cfe2 commit bc2ecd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc2ecd0

Please sign in to comment.