aboutsummaryrefslogtreecommitdiff
path: root/paludis/selinux/CMakeLists.txt
blob: 32c609a81041c13253588f9106e4d152ca79e9ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}")