mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-22 07:48:54 +00:00
Merge pull request #131 from xiphon/install-target-randomx-lib
CMake install target for randomx library
This commit is contained in:
commit
f1199a9fc6
@ -137,6 +137,9 @@ add_library(randomx
|
|||||||
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
set_property(TARGET randomx PROPERTY CXX_STANDARD 11)
|
set_property(TARGET randomx PROPERTY CXX_STANDARD 11)
|
||||||
set_property(TARGET randomx PROPERTY CXX_STANDARD_REQUIRED ON)
|
set_property(TARGET randomx PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||||
|
install(TARGETS randomx
|
||||||
|
ARCHIVE DESTINATION lib
|
||||||
|
LIBRARY DESTINATION lib)
|
||||||
|
|
||||||
add_executable(randomx-tests
|
add_executable(randomx-tests
|
||||||
src/tests/tests.cpp)
|
src/tests/tests.cpp)
|
||||||
|
Loading…
Reference in New Issue
Block a user