summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2013-03-21 12:08:14 +0100
committerMihael Koep <koep@schneide.com>2013-03-21 12:08:14 +0100
commit9bdf1616c6f1360658c7a97c0d7e681a932b4ee7 (patch)
tree89d5d51904286e778a3ead0dcd49dd360843300f /src
parentb9bfef1a6032e0ce0cc8f9cc95a28121a17331ce (diff)
downloaduca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.gz
uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.bz2
uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.xz
uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.zip
Improve libuca package compatibility with RPM systems.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/libuca.pc.in (renamed from src/uca.pc.in)0
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 160c52b..fcacfa0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -53,8 +53,8 @@ set(libdir ${prefix}/${LIB_INSTALL_DIR})
set(includedir "\${prefix}/include")
set(VERSION ${UCA_VERSION_STRING})
-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/uca.pc.in"
- "${CMAKE_CURRENT_BINARY_DIR}/uca.pc" @ONLY IMMEDIATE)
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/libuca.pc.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/libuca.pc" @ONLY IMMEDIATE)
# --- Build target ------------------------------------------------------------
@@ -198,7 +198,7 @@ install(TARGETS uca
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
COMPONENT libraries)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/uca.pc
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libuca.pc
DESTINATION lib/pkgconfig
COMPONENT libraries)
diff --git a/src/uca.pc.in b/src/libuca.pc.in
index 6401368..6401368 100644
--- a/src/uca.pc.in
+++ b/src/libuca.pc.in