Skip to content

Commit 81cbb1e

Browse files
committed
fix: missing preprocessor if statement
1 parent 805b9fa commit 81cbb1e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ void configure_searchpaths() {
3939

4040
// 2. bundled plugins
4141
const QString APP_DIR = QString::fromUtf8(appimage_dir);
42+
43+
#if defined(REDASM_PLUGIN_DIR)
4244
append_unique(utils::search_paths, QString::fromUtf8(REDASM_PLUGIN_DIR));
45+
#endif
46+
4347
append_unique(utils::kb_search_paths, (APP_DIR + "/usr/share/redasm/kb").toUtf8());
4448

4549
// 3. system plugins

0 commit comments

Comments
 (0)