summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2018-04-06 15:11:07 -0400
committerpsychocrypt <psychocryptHPC@gmail.com>2018-04-17 21:50:19 +0200
commita7d77f54d1a4491cace7347aa5213e6393115b42 (patch)
treed08ec2d9168e2b8b561f5524352c9836652cedf3
parent4dc1e92bffdcf61fd18f653a32facf1d4f22d6d7 (diff)
downloadxmr-stak-a7d77f54d1a4491cace7347aa5213e6393115b42.zip
xmr-stak-a7d77f54d1a4491cace7347aa5213e6393115b42.tar.gz
Allow EXECUTABLE and LIBRARY paths to be set
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66c2f6f..485616e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -522,8 +522,8 @@ else()
add_executable(xmr-stak ${SRCFILES_CPP})
endif()
-set(EXECUTABLE_OUTPUT_PATH "bin")
-set(LIBRARY_OUTPUT_PATH "bin")
+set(EXECUTABLE_OUTPUT_PATH "bin" CACHE STRING "Path to place executables relative to ${CMAKE_INSTALL_PREFIX}")
+set(LIBRARY_OUTPUT_PATH "bin" CACHE STRING "Path to place libraries relative to ${CMAKE_INSTALL_PREFIX}")
target_link_libraries(xmr-stak ${LIBS} xmr-stak-c xmr-stak-backend)
OpenPOWER on IntegriCloud