aboutsummaryrefslogtreecommitdiff
path: root/pkg-config/CMakeLists.txt
blob: 5137a4161fda282bc129b6d24606ee75039d06b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(PALUDIS_PKG_CONFIG_CFLAGS)
set(PALUDIS_PKG_CONFIG_LIBS
    "-lpaludis_${PALUDIS_PKG_CONFIG_SLOT} -lpaludisutil_${PALUDIS_PKG_CONFIG_SLOT} -lpaludisargs_${PALUDIS_PKG_CONFIG_SLOT} Threads::Threads")

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/paludis.pc.cmake"
               "${CMAKE_CURRENT_BINARY_DIR}/paludis.pc"
               @ONLY)

install(FILES
          "${CMAKE_CURRENT_BINARY_DIR}/paludis.pc"
        DESTINATION
          "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")