From 4381ec3c897b40c9bc1a6d346c197324e6dfa7c7 Mon Sep 17 00:00:00 2001 From: tevador <37503146+tevador@users.noreply.github.com> Date: Fri, 15 Nov 2019 20:28:19 +0100 Subject: [PATCH] Revert "dev/beber/build: improve install target (#150)" This reverts commit 66c039030f08d41501d81bccff10d427f7742ed3. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85da159..40f0354 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)