mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-21 07:18:53 +00:00
Merge pull request #160 from tevador/pr-install1
Improve install target (fixed)
This commit is contained in:
commit
fd96d3df22
@ -181,9 +181,13 @@ endif()
|
||||
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)
|
||||
set_property(TARGET randomx PROPERTY PUBLIC_HEADER src/randomx.h)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS randomx
|
||||
ARCHIVE DESTINATION lib
|
||||
LIBRARY DESTINATION lib)
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
add_executable(randomx-tests
|
||||
src/tests/tests.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user