This commit is contained in:
AlexandreRouma 2023-02-25 18:14:35 +01:00
commit df83d65271
3 changed files with 3 additions and 3 deletions

View File

@ -89,9 +89,9 @@ set(SDRPP_MODULE_COMPILER_FLAGS ${SDRPP_COMPILER_FLAGS})
# Set a default install prefix # Set a default install prefix
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_INSTALL_PREFIX "/usr/local") set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "..." FORCE)
else() else()
set(CMAKE_INSTALL_PREFIX "/usr") set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
endif() endif()
endif() endif()

View File

@ -1,4 +1,5 @@
#include <module_com.h> #include <module_com.h>
#include <utils/flog.h>
bool ModuleComManager::registerInterface(std::string moduleName, std::string name, void (*handler)(int code, void* in, void* out, void* ctx), void* ctx) { bool ModuleComManager::registerInterface(std::string moduleName, std::string name, void (*handler)(int code, void* in, void* out, void* ctx), void* ctx) {
std::lock_guard<std::mutex> lck(mtx); std::lock_guard<std::mutex> lck(mtx);

View File

@ -2,7 +2,6 @@
#include <map> #include <map>
#include <string> #include <string>
#include <mutex> #include <mutex>
#include <utils/flog.h>
struct ModuleComInterface { struct ModuleComInterface {
std::string moduleName; std::string moduleName;