mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2025-01-02 21:28:54 +00:00
Improve install target (fixed)
This commit is contained in:
parent
cb299e5a25
commit
79c53ae9b0
@ -157,9 +157,13 @@ 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)
|
||||||
|
set_property(TARGET randomx PROPERTY PUBLIC_HEADER src/randomx.h)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
install(TARGETS randomx
|
install(TARGETS randomx
|
||||||
ARCHIVE DESTINATION lib
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
LIBRARY DESTINATION lib)
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
|
||||||
add_executable(randomx-tests
|
add_executable(randomx-tests
|
||||||
src/tests/tests.cpp)
|
src/tests/tests.cpp)
|
||||||
|
Loading…
Reference in New Issue
Block a user