Fixed *nix scaffolding so linking against the external library works

properly.
This commit is contained in:
casey langen 2020-06-14 13:39:39 -07:00
parent 192ce4a700
commit 8d72a19955
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
set (libopenmptdecoder_SOURCES
set (openmptdecoder_SOURCES
plugin.cpp
OpenMptDecoder.cpp
)
add_library(libopenmptdecoder SHARED ${libopenmptdecoder_SOURCES})
target_link_libraries(libopenmptdecoder ${musikcube_LINK_LIBS})
add_library(openmptdecoder SHARED ${openmptdecoder_SOURCES})
target_link_libraries(openmptdecoder ${musikcube_LINK_LIBS} openmpt)

View File

@ -38,6 +38,7 @@
#include <core/sdk/IDebug.h>
#include <core/sdk/ITagReader.h>
#include <libopenmpt/libopenmpt.h>
#include <string.h>
extern "C" {
#include "OpenMptDecoder.h"