summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/CMakeLists.txt2
-rw-r--r--api/plugin-support.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/CMakeLists.txt b/api/CMakeLists.txt
index 0be2c242..a181abb9 100644
--- a/api/CMakeLists.txt
+++ b/api/CMakeLists.txt
@@ -1,3 +1,3 @@
-opentrack_boilerplate(opentrack-api NO-COMPAT BIN)
+otr_module(api NO-COMPAT BIN)
target_link_libraries(opentrack-api opentrack-options opentrack-compat)
target_include_directories(opentrack-api PUBLIC ${CMAKE_BINARY_DIR})
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp
index d8a5ec8a..86994d18 100644
--- a/api/plugin-support.hpp
+++ b/api/plugin-support.hpp
@@ -41,7 +41,7 @@
#ifdef _MSC_VER
# define OPENTRACK_SOLIB_PREFIX ""
#else
-# define OPENTRACK_SOLIB_PREFIX "lib"
+# define OPENTRACK_SOLIB_PREFIX ""
#endif
extern "C" typedef void* (*OPENTRACK_CTOR_FUNPTR)(void);