summaryrefslogtreecommitdiffstats
path: root/Tests/Plugin/src/example_exe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Plugin/src/example_exe.cxx')
-rw-r--r--Tests/Plugin/src/example_exe.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx
index 59f1e0b..96566d5 100644
--- a/Tests/Plugin/src/example_exe.cxx
+++ b/Tests/Plugin/src/example_exe.cxx
@@ -1,5 +1,7 @@
#include <example.h>
+#include <example_exe.h>
+
#include <kwsys/DynamicLoader.hxx>
#include <kwsys/ios/iostream>
#include <kwsys/stl/string>
@@ -21,7 +23,7 @@ extern "C" int example_exe_function()
int main()
{
- kwsys_stl::string libName = "lib/plugin" CONFIG_DIR "/";
+ kwsys_stl::string libName = EXAMPLE_EXE_PLUGIN_DIR CONFIG_DIR "/";
libName += kwsys::DynamicLoader::LibPrefix();
libName += "example_mod_1";
libName += kwsys::DynamicLoader::LibExtension();