mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Merge pull request #160 from tevador/pr-install1
Improve install target (fixed)
This commit is contained in:
commit
fd96d3df22
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue