blob: 0ad0805884741680b57b76620fe03aef84f99ea4 (
plain) (
tree)
|
|
diff --git a/./external/src/RandomX/CMakeLists.txt.ori b/./external/src/RandomX/CMakeLists.txt
index afaf0ee8d410..17f4dc2b57cd 100644
--- a/./external/src/RandomX/CMakeLists.txt.ori
+++ b/./external/src/RandomX/CMakeLists.txt
@@ -232,7 +232,7 @@ endif()
set(RANDOMX_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/src" CACHE STRING "RandomX Include path")
-add_library(randomx ${randomx_sources})
+add_library(randomx STATIC ${randomx_sources})
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET randomx PROPERTY CXX_STANDARD 14)
|