CMake install target for randomx library

This commit is contained in:
xiphon 2019-09-28 12:07:27 +00:00
parent f2bb1dd840
commit 6352949331

View File

@ -137,6 +137,9 @@ add_library(randomx
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET randomx PROPERTY CXX_STANDARD 11)
set_property(TARGET randomx PROPERTY CXX_STANDARD_REQUIRED ON)
install(TARGETS randomx
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib)
add_executable(randomx-tests
src/tests/tests.cpp)