livoxGen1: Add OpenClSplittingEngine
This commit is contained in:
@@ -9,26 +9,33 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
|
||||
# Find liburing using pkg-config
|
||||
pkg_check_modules(URING REQUIRED liburing)
|
||||
|
||||
# Find OpenCL using pkg-config
|
||||
pkg_check_modules(OPENCL REQUIRED OpenCL)
|
||||
|
||||
add_library(livoxGen1 SHARED
|
||||
livoxGen1.cpp
|
||||
stagingBuffer.cpp
|
||||
pcloudStimulusBuffer.cpp
|
||||
ioUringAssemblyEngine.cpp
|
||||
openClSplittingEngine.cpp
|
||||
)
|
||||
|
||||
target_include_directories(livoxGen1 PUBLIC
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/commonLibs
|
||||
${URING_INCLUDE_DIRS}
|
||||
${OPENCL_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(livoxGen1 PUBLIC
|
||||
Boost::system
|
||||
Boost::log
|
||||
${URING_LIBRARIES}
|
||||
${OPENCL_LIBRARIES}
|
||||
attachmentSupport
|
||||
)
|
||||
target_link_directories(livoxGen1 PUBLIC
|
||||
${URING_LIBRARY_DIRS}
|
||||
${OPENCL_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
# Verify Boost dynamic dependencies after build
|
||||
|
||||
Reference in New Issue
Block a user