File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ configure_file (
2+ ${CMAKE_CURRENT_SOURCE_DIR } /CoreModules/Include/Config.h.in
3+ ${CMAKE_CURRENT_BINARY_DIR } /CoreModules/Include/Config.h
4+ @ONLY )
5+
16file (GLOB SOURCES "Components/*.cpp"
27 "Common/*.cpp"
38 "CoreModules/*.cpp" )
@@ -9,6 +14,7 @@ target_include_directories(UrmAuxUtils PRIVATE ${LIBYAML_INCLUDE_DIRS})
914target_include_directories (UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR } /Components/Include )
1015target_include_directories (UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR } /Common/Include )
1116target_include_directories (UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR } /CoreModules/Include )
17+ target_include_directories (UrmAuxUtils PUBLIC ${CMAKE_CURRENT_BINARY_DIR } /CoreModules/Include )
1218install (TARGETS UrmAuxUtils LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
1319
1420install (FILES ${CMAKE_CURRENT_SOURCE_DIR } /Common/Include/UrmPlatformAL.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /Urm)
Original file line number Diff line number Diff line change 1+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2+ // SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+ #ifndef URM_GLOB_CONF_H
5+ #define URM_GLOB_CONF_H
6+
7+ #define LIBDIR_PATH "@CMAKE_INSTALL_FULL_LIBDIR@"
8+
9+ #endif
Original file line number Diff line number Diff line change 66#include < string>
77#include < thread>
88#include < memory>
9+
10+ #include " Config.h"
911#include " ErrCodes.h"
1012#include " Extensions.h"
1113#include " AuxRoutines.h"
@@ -46,7 +48,7 @@ static ErrCode loadExtensionsLib() {
4648 }
4749 }
4850
49- std::string libDirPath = UrmSettings:: mExtensionPluginsLibPath ;
51+ std::string libDirPath = std::string ( LIBDIR_PATH ) + " /urm/ " ;
5052 DIR * dir = opendir (libDirPath.c_str ());
5153 if (dir == nullptr ) {
5254 return RC_SUCCESS ; // Return success regardless, since this is an extension.
You can’t perform that action at this time.
0 commit comments