summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-05-15 08:33:35 +0000
committerLive session user <ubuntu@ubuntu.(none)>2010-05-15 08:35:03 +0000
commitcb21859266790f4745b03b4acbd07eb66bbe9a60 (patch)
tree4a7f824b45d6dee8f0dfe343147bcd358e10695c /CMakeLists.txt
parent9ba6b2fc793b88e3d7775fe36a5915a96641b5da (diff)
downloadmobilebling-cb21859266790f4745b03b4acbd07eb66bbe9a60.tar.gz
mobilebling-cb21859266790f4745b03b4acbd07eb66bbe9a60.tar.bz2
Added compiz_ensure_linkage function and dropped some more rpath stuff
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67d8c9b..d6a03d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,6 +74,10 @@ compiz_configure_file (
${CMAKE_BINARY_DIR}/generated/compiz-common.h
)
+function (do_relink)
+ execute_process (COMMAND "ldconfig" ARGS "-v" ${CMAKE_INSTALL_PREFIX})
+endfunction ()
+
install (
FILES ${CMAKE_BINARY_DIR}/generated/compiz-common.h
DESTINATION ${includedir}/compiz
@@ -103,6 +107,7 @@ add_subdirectory (src)
add_subdirectory (xslt)
add_subdirectory (plugins)
+compiz_ensure_linkage ()
compiz_package_generation ("Compiz")
compiz_add_uninstall ()
compiz_add_git_dist ()