Fix regression introduced recently in
21175a33. "Make install" fails on
pkgconfig files when building out-of-tree.
Change-Id: Ib544993ae4daa784ca93d9e115eeba9830957ecc
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
CONFIGURE_FILE(cynara-admin.pc.in cynara-admin.pc @ONLY)
INSTALL(FILES
- cynara-admin.pc
+ ${CMAKE_BINARY_DIR}/pkgconfig/cynara-admin/cynara-admin.pc
DESTINATION
${LIB_INSTALL_DIR}/pkgconfig
)
CONFIGURE_FILE(cynara-client.pc.in cynara-client.pc @ONLY)
INSTALL(FILES
- cynara-client.pc
+ ${CMAKE_BINARY_DIR}/pkgconfig/cynara-client/cynara-client.pc
DESTINATION
${LIB_INSTALL_DIR}/pkgconfig
)