diff --git a/cmake/external/Qt5.cmake b/cmake/external/Qt5.cmake index ee7e6ae..b6e95ec 100644 --- a/cmake/external/Qt5.cmake +++ b/cmake/external/Qt5.cmake @@ -16,6 +16,6 @@ if(EXISTS "$ENV{Qt5_DIR}" AND IS_DIRECTORY "$ENV{Qt5_DIR}") find_package(Qt5 REQUIRED COMPONENTS ${Qt5_COMPONENTS}) else() message(STATUS "Qt5_DIR is not set. Using Hunter (package manager) to install Qt5.") - hunter_add_package(Qt COMPONENTS ${Qt5_COMPONENTS}) + hunter_add_package(Qt) find_package(Qt5 QUIET REQUIRED COMPONENTS ${Qt5_COMPONENTS}) endif() diff --git a/src/CryptoNoteWrapper.cpp b/src/CryptoNoteWrapper.cpp index 4093ffe..1cd7591 100644 --- a/src/CryptoNoteWrapper.cpp +++ b/src/CryptoNoteWrapper.cpp @@ -4,6 +4,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "CryptoNoteWrapper.h" +#include "CryptoNoteCheckpoints.h" #include "CryptoNoteCore/CryptoNoteBasicImpl.h" #include "CryptoNoteCore/CryptoNoteFormatUtils.h" #include "CryptoNoteCore/Currency.h"