diff --git a/CMakeLists.txt b/CMakeLists.txt index e5b0dfa..732fbb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,6 @@ if(DEBUG) set(CMAKE_VERBOSE_MAKEFILE ON) endif() -set(MONERO_HEAD "23650c7aa97adb1a2e5e147c3c20bdd1236b5a67") set(BUILD_GUI_DEPS ON) option(ARCH "Target architecture" "native") set(BUILD_64 ON) @@ -50,16 +49,6 @@ if(STATIC) set(Boost_USE_STATIC_RUNTIME ON) endif() -find_package(Git) -if(GIT_FOUND) - execute_process(COMMAND git rev-parse "HEAD" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/monero OUTPUT_VARIABLE _MONERO_HEAD OUTPUT_STRIP_TRAILING_WHITESPACE) - if(NOT _MONERO_HEAD STREQUAL MONERO_HEAD) - message(FATAL_ERROR "[submodule] Monero HEAD was at ${_MONERO_HEAD} but should be at ${MONERO_HEAD}") - else() - message(STATUS "[submodule] Monero HEAD @ ${MONERO_HEAD}") - endif() -endif() - add_subdirectory(monero) set_property(TARGET wallet_merged PROPERTY FOLDER "monero") get_directory_property(ARCH_WIDTH DIRECTORY "monero" DEFINITION ARCH_WIDTH)