summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-05-18 19:30:17 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-05-18 19:30:17 +0800
commit54deec100959dd84fc3ad7df28cfd745883f5644 (patch)
tree42081f56208e19b994cb53351c2b79d19ac1804b /CMakeLists.txt
parent9447ee14f0bc64d005c153eb54247fe8a3b1c44a (diff)
downloadmobilebling-54deec100959dd84fc3ad7df28cfd745883f5644.tar.gz
mobilebling-54deec100959dd84fc3ad7df28cfd745883f5644.tar.bz2
Added DESTDIR support for packaging
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d444cf5..dee32e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,7 +76,7 @@ compiz_configure_file (
install (
FILES ${CMAKE_BINARY_DIR}/generated/compiz-common.h
- DESTINATION ${includedir}/compiz
+ DESTINATION ${COMPIZ_DESTDIR}${includedir}/compiz
)
compiz_configure_file (
@@ -88,7 +88,7 @@ compiz_configure_file (
install (
FILES ${CMAKE_BINARY_DIR}/compiz.pc
- DESTINATION ${libdir}/pkgconfig
+ DESTINATION ${COMPIZ_DESTDIR}${libdir}/pkgconfig
)
add_subdirectory (cmake)