Use version.h to set path to library
This commit is contained in:
parent
5598cdc4cd
commit
3acf0e3342
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user