111.1.1
by Michal Hruby
Add pkg-config variable to get plugin directory |
1 |
# Set up package config. |
2 |
set(PKGCONFIG_NAME "unity-shell-api") |
|
3 |
set(PKGCONFIG_DESCRIPTION "Unity shell APIs") |
|
111.1.2
by Michal Hruby
Expose the plugindir suffix |
4 |
set(PKGCONFIG_PLUGINDIR "${SHELL_PLUGINDIR}") |
111.1.1
by Michal Hruby
Add pkg-config variable to get plugin directory |
5 |
set(VERSION "1.0") |
6 |
||
7 |
configure_file(unity-shell-api.pc.in unity-shell-api.pc @ONLY) |
|
8 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-shell-api.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) |
|
115.1.1
by Michal Hruby
Expose full version including micro version number in pc file |
9 |
|
10 |
configure_file(lib${UNITY_API_LIB}.pc.in lib${UNITY_API_LIB}.pc @ONLY) |
|
11 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${UNITY_API_LIB}.pc DESTINATION ${LIB_INSTALL_PREFIX}/pkgconfig) |