mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue