diff --git a/CMakeLists.txt b/CMakeLists.txt index c979367..10e2bb5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)