[nostalgia] Get building in MSVC
This commit is contained in:
parent
4cbf1b9a9a
commit
cdf62cbb98
@ -2,6 +2,7 @@
|
|||||||
#setup libraries
|
#setup libraries
|
||||||
|
|
||||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||||
|
find_package(SDL2 CONFIG REQUIRED)
|
||||||
if(NOSTALGIA_BUILD_STUDIO)
|
if(NOSTALGIA_BUILD_STUDIO)
|
||||||
find_package(Qt5Widgets REQUIRED)
|
find_package(Qt5Widgets REQUIRED)
|
||||||
find_package(Qt5QuickWidgets REQUIRED)
|
find_package(Qt5QuickWidgets REQUIRED)
|
||||||
|
@ -78,7 +78,7 @@ struct VerificationPair {
|
|||||||
std::cout << "copying directory: " << path << '\n';
|
std::cout << "copying directory: " << path << '\n';
|
||||||
std::vector<VerificationPair> verficationPairs;
|
std::vector<VerificationPair> verficationPairs;
|
||||||
// copy
|
// copy
|
||||||
oxReturnError(src->ls(path.c_str(), [&verficationPairs, src, dest, path](const char *name, ox::InodeId_t) {
|
oxReturnError(src->ls(path.c_str(), [&verficationPairs, src, dest, path](std::string name, ox::InodeId_t) {
|
||||||
std::cout << "reading " << name << '\n';
|
std::cout << "reading " << name << '\n';
|
||||||
auto currentFile = path + name;
|
auto currentFile = path + name;
|
||||||
auto [stat, err] = src->stat((currentFile).c_str());
|
auto [stat, err] = src->stat((currentFile).c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user