Load libdrm at run time
Remove the compile time dependency on libdrm. Load it at the run time instead. Add the headers missed from smi-lib Change-Id: Ie1ecf293b51425b6a61c502d11a42809dc099f70
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ target_include_directories(${OAM_EXAMPLE_EXE} PRIVATE ${OAM_INC_LIST})
|
||||
target_link_libraries(${OAM_EXAMPLE_EXE} ${OAM_TARGET})
|
||||
add_library(${OAM_TARGET} ${CMN_SRC_LIST} ${OAM_SRC_LIST}
|
||||
${CMN_INC_LIST} ${OAM_INC_LIST})
|
||||
target_link_libraries(${OAM_TARGET} pthread rt drm)
|
||||
target_link_libraries(${OAM_TARGET} pthread rt dl)
|
||||
target_include_directories(${OAM_TARGET} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include ${COMMON_PROJ_ROOT}/common/shared_mutex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user