We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bb09a commit 2ecacdeCopy full SHA for 2ecacde
src/Tearing/config.h.in
@@ -24,8 +24,10 @@
24
#pragma once
25
26
#include <sofa/config.h>
27
+#define PLUGIN_VERSION @PROJECT_VERSION@
28
29
#ifdef SOFA_BUILD_TEARING
30
+# define SOFA_TARGET @PROJECT_NAME@
31
# define TEARING_API SOFA_EXPORT_DYNAMIC_LIBRARY
32
#else
33
# define TEARING_API SOFA_IMPORT_DYNAMIC_LIBRARY
src/Tearing/initTearing.cpp
@@ -61,7 +61,7 @@ const char* getModuleName()
61
62
const char* getModuleVersion()
63
{
64
- return sofa_tostring(TEARING_VERSION);
+ return sofa_tostring(PLUGIN_VERSION);
65
}
66
67
const char* getModuleLicense()
0 commit comments