diff --git a/libethash/CMakeLists.txt b/libethash/CMakeLists.txt index c92240086..009cd2d92 100644 --- a/libethash/CMakeLists.txt +++ b/libethash/CMakeLists.txt @@ -43,3 +43,7 @@ add_library(${LIBRARY} ${FILES}) if (CRYPTOPP_FOUND) TARGET_LINK_LIBRARIES(${LIBRARY} ${CRYPTOPP_LIBRARIES}) endif() + +if (NOT ETHASHCL) + install( TARGETS ${LIBRARY} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) +endif ()