From a1d0bd0799bd2122d2e7625406974de406e8720f Mon Sep 17 00:00:00 2001 From: Volker Kaiser Date: Thu, 19 Apr 2012 08:54:20 +0200 Subject: CI_INSTALL_PREFIX added --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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") -- cgit v1.2.3