Enable position independent code

This commit is contained in:
tevador 2019-05-17 11:35:08 +02:00
parent 86949c8ce1
commit ec29d5320d
1 changed files with 1 additions and 0 deletions

View File

@ -63,3 +63,4 @@ add_library(randomx
target_link_libraries(randomx
PRIVATE
${CMAKE_THREAD_LIBS_INIT})
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)