From 35b35d6eea6be24918428b4c2ff333ed431fd742 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Fri, 28 Apr 2017 19:34:59 +0200 Subject: [PATCH] fix wrong naming in CMake install --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e87d69d..68d2432 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,7 +118,7 @@ target_link_libraries(xmr-stak-cpu ${LIBS} xmr-stak-c) # do not install the binary if the project and install are equal if( NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL "${PROJECT_BINARY_DIR}" ) - install(TARGETS xmr-stak-amd + install(TARGETS xmr-stak-cpu RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") endif()