Removed monero directory check.

This commit is contained in:
Jianping Wu 2019-03-08 23:04:10 -08:00
parent cc1c9054ec
commit f26802a26c

View File

@ -1,14 +1,6 @@
cmake_minimum_required (VERSION 2.8.11) cmake_minimum_required (VERSION 2.8.11)
project(pool) project(pool)
if (DEFINED ENV{MONERO_DIR})
get_filename_component(MONERO_DIR $ENV{MONERO_DIR} ABSOLUTE)
message("Using Monero source from env ${MONERO_DIR}")
else()
get_filename_component(MONERO_DIR "${CMAKE_SOURCE_DIR}/../monero" ABSOLUTE)
message("Monero surce directory is not defined, using default ${MONERO_DIR}")
endif()
add_subdirectory(cnutil) add_subdirectory(cnutil)
add_custom_command( add_custom_command(