Fix compile failed.

This commit is contained in:
luocai 2023-12-07 19:46:15 +08:00
parent 5fb614342d
commit 60cf8a3cae
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,9 @@ if(TARGET Boost::url)
add_subdirectory(HttpProxy) add_subdirectory(HttpProxy)
endif() endif()
if(TARGET Qt${QT_VERSION_MAJOR}::Core)
add_subdirectory(QtComponets) add_subdirectory(QtComponets)
endif()
if(TARGET Boost::log) if(TARGET Boost::log)
add_subdirectory(Universal) add_subdirectory(Universal)

View File

@ -1,6 +1,7 @@
#include "ProcessUtility.h" #include "ProcessUtility.h"
#include "BoostLog.h" #include "BoostLog.h"
#include "boost/algorithm/string.hpp" #include <boost/algorithm/string.hpp>
#include <filesystem>
#include <regex> #include <regex>
#include <sstream> #include <sstream>
#ifdef __linux__ #ifdef __linux__