Установка файла для pkgconfig
This commit is contained in:
parent
572c4b9d0f
commit
91ff0dd7c7
@ -36,7 +36,7 @@ function(add_common_library)
|
||||
install(TARGETS ${LIBNAME}_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
|
||||
configure_file(${CMLIB_MODULE_DIR}/pc/lib.pc.in
|
||||
${CMAKE_BINARY_DIR}/${LIBNAME}.pc)
|
||||
configure_file(${CMLIB_MODULE_DIR}/pc/lib.pc.in ${CMAKE_BINARY_DIR}/${LIBNAME}.pc)
|
||||
install(FILES ${CMAKE_BINARY_DIR}/${LIBNAME}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
endfunction()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user