mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
make more directories configurable
This commit is contained in:
parent
a654ce9ea7
commit
9fa7828f39
1 changed files with 9 additions and 5 deletions
|
@ -19,12 +19,16 @@ endif()
|
|||
|
||||
message(STATUS MONERO_DIR ": ${MONERO_DIR}")
|
||||
|
||||
set(MONERO_SOURCE_DIR ${MONERO_DIR}
|
||||
CACHE PATH "Path to the root directory for Monero")
|
||||
if (NOT MONERO_SOURCE_DIR)
|
||||
set(MONERO_SOURCE_DIR ${MONERO_DIR}
|
||||
CACHE PATH "Path to the root directory for Monero")
|
||||
endif()
|
||||
|
||||
# set location of monero build tree
|
||||
set(MONERO_BUILD_DIR ${MONERO_SOURCE_DIR}/build/release/
|
||||
CACHE PATH "Path to the build directory for Monero")
|
||||
if (NOT MONERO_BUILD_DIR)
|
||||
# set location of monero build tree
|
||||
set(MONERO_BUILD_DIR ${MONERO_SOURCE_DIR}/build/release/
|
||||
CACHE PATH "Path to the build directory for Monero")
|
||||
endif()
|
||||
|
||||
set(MY_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake"
|
||||
CACHE PATH "The path to the cmake directory of the current project")
|
||||
|
|
Loading…
Reference in a new issue