summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-04-19 08:54:20 +0200
committerVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-04-19 08:54:20 +0200
commita1d0bd0799bd2122d2e7625406974de406e8720f (patch)
treee334758d64098e408ce64e7e954572da190bc0ec /src/CMakeLists.txt
parente23aff7cfa16d7d3446f59e9100341f060a08e11 (diff)
downloaduca-a1d0bd0799bd2122d2e7625406974de406e8720f.tar.gz
uca-a1d0bd0799bd2122d2e7625406974de406e8720f.tar.bz2
uca-a1d0bd0799bd2122d2e7625406974de406e8720f.tar.xz
uca-a1d0bd0799bd2122d2e7625406974de406e8720f.zip
CI_INSTALL_PREFIX added
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0a1720b..28078d4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -212,6 +212,10 @@ install(FILES ${uca_HDRS}
# --- install pkg-config file
set(prefix ${CMAKE_INSTALL_PREFIX})
+if (CI_INSTALL_PREFIX)
+ set(prefix ${CI_INSTALL_PREFIX})
+endif()
+
set(exec_prefix "\${prefix}")
set(libdir "${LIB_INSTALL_DIR}")
set(includedir "\${prefix}/include")