Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
volla
:
yggdrasil
>
linux-hidl
> _service:tar_git:0016-libfmq-cmakelist.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0016-libfmq-cmakelist.patch of Package linux-hidl
diff --git a/src/libfmq/CMakeLists.txt b/src/libfmq/CMakeLists.txt new file mode 100644 index 0000000..9635b8c --- /dev/null +++ b/src/libfmq/CMakeLists.txt @@ -0,0 +1,17 @@ +add_library(libfmq SHARED + EventFlag.cpp + FmqInternal.cpp +) + +target_include_directories(libfmq PUBLIC include) +target_link_libraries(libfmq libutils libcutils libbase) + +set_target_properties(libfmq PROPERTIES + VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} +) + +install(TARGETS libfmq + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + PUBLIC_HEADER) + +install(DIRECTORY include/fmq DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/linux-hidl)