From 9deb6dafac0877423abe38eab887d11ea80ef548 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Mar 2017 01:35:34 +0200 Subject: cmake: rename project's function prefix It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module". --- api/CMakeLists.txt | 2 +- api/plugin-support.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'api') 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); -- cgit v1.2.3