aboutsummaryrefslogtreecommitdiff
path: root/paludis/selinux/CMakeLists.txt
blob: 13d01519748a983b0034396bf560139b0fafd039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
paludis_add_library(libpaludisselinux
                      "${CMAKE_CURRENT_SOURCE_DIR}/security_context.cc")
add_dependencies(libpaludisselinux libpaludisutil_SE)
target_link_libraries(libpaludisselinux
                      PRIVATE
                        ${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}")