Use version.h to set path to library

This commit is contained in:
Siegfried Siegert 2024-07-08 11:55:15 +02:00
parent 5598cdc4cd
commit 3acf0e3342
Signed by untrusted user: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -9,6 +9,7 @@
* introduced in CatGui in 2021, dec. 6. * introduced in CatGui in 2021, dec. 6.
*/ */
#include "version.h"
char MainWindow::loadPlugIn(char lade1_entlade2) char MainWindow::loadPlugIn(char lade1_entlade2)
@ -22,9 +23,14 @@ char MainWindow::loadPlugIn(char lade1_entlade2)
// select system: // select system:
#if defined (ARCH_WINDOWS)
// Windows DT // Windows DT
// pluginLoader->setFileName("../../SlavePlug/CAslave.dll"); // for windows pluginLoader->setFileName("../../SlavePlug/CAslave.dll"); // for windows
#elif defined (ARCH_DesktopLinux)
pluginLoader->setFileName("../../SlavePlug/libCAslave.so");
#elif defined (ARCH_PTU5)
pluginLoader->setFileName("/usr/lib/libCAslave.so"); // for PTU5 pluginLoader->setFileName("/usr/lib/libCAslave.so"); // for PTU5
#endif
if (lade1_entlade2==2) if (lade1_entlade2==2)
{ {