19 lines
616 B
CMake
19 lines
616 B
CMake
|
|
paludis_add_library(libpaludisselinux
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/security_context.cc")
|
|
add_dependencies(libpaludisselinux libpaludisutil_SE)
|
|
target_link_libraries(libpaludisselinux
|
|
PRIVATE
|
|
libpaludisutil
|
|
${CMAKE_DL_LIBS})
|
|
|
|
install(FILES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/security_context.hh"
|
|
DESTINATION
|
|
"${CMAKE_INSTALL_FULL_INCLUDEDIR}/paludis-${PALUDIS_PKG_CONFIG_SLOT}/paludis/selinux")
|
|
install(TARGETS
|
|
libpaludisselinux
|
|
DESTINATION
|
|
"${CMAKE_INSTALL_FULL_LIBDIR}")
|
|
|