Revert "dev/beber/build: improve install target (#150)"

This reverts commit 66c039030f.
This commit is contained in:
tevador 2019-11-15 20:28:19 +01:00 committed by GitHub
parent 5e53ed9409
commit 4381ec3c89

View file

@ -157,10 +157,9 @@ add_library(randomx
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)
install(TARGETS randomx
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib)
add_executable(randomx-tests
src/tests/tests.cpp)