You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
525 B
15 lines
525 B
add_subdirectory( ${PROJECT_NAME} ) |
|
|
|
|
|
##### other data |
|
|
|
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) |
|
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${INCLUDE_INSTALL_DIR} ) |
|
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} ) |
|
|
|
configure_file( libkipi.pc.cmake ${PROJECT_NAME}.pc @ONLY ) |
|
|
|
install( |
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc |
|
DESTINATION ${PKGCONFIG_INSTALL_DIR} |
|
)
|
|
|