changes to the build system
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <filesystem>
|
||||
#include <signal_path/source.h>
|
||||
#include <gui/dialogs/loading_screen.h>
|
||||
#include <options.h>
|
||||
|
||||
// const int FFTSizes[] = {
|
||||
// 65536,
|
||||
@@ -143,8 +144,8 @@ void windowInit() {
|
||||
spdlog::info("Loading modules");
|
||||
|
||||
// Load modules from /module directory
|
||||
if (std::filesystem::is_directory(ROOT_DIR "/modules")) {
|
||||
for (const auto & file : std::filesystem::directory_iterator(ROOT_DIR "/modules")) {
|
||||
if (std::filesystem::is_directory(options::opts.root + "/modules")) {
|
||||
for (const auto & file : std::filesystem::directory_iterator(options::opts.root + "/modules")) {
|
||||
std::string path = file.path().generic_string();
|
||||
if (file.path().extension().generic_string() != SDRPP_MOD_EXTENTSION) {
|
||||
continue;
|
||||
@@ -595,7 +596,6 @@ void drawWindow() {
|
||||
gui::waterfall.setWaterfallMin(fftMin);
|
||||
gui::waterfall.setWaterfallMax(fftMax);
|
||||
|
||||
|
||||
ImGui::End();
|
||||
|
||||
if (showCredits) {
|
||||
|
||||
Reference in New Issue
Block a user