summaryrefslogtreecommitdiff
path: root/tools/CMakeLists.txt
diff options
authorTed Gould <ted@gould.cx>2016-07-20 19:15:07 +0200
committerTed Gould <ted@gould.cx>2016-07-20 19:15:07 +0200
commit57f4c9aed292b27e9f43ac4acf76fdd8f5713517 (patch)
tree359b210abdba9577454dd9b0e3176462bd1d6fc1 /tools/CMakeLists.txt
parent2242c45ebb3c7a1978f02ec91811d9302197969a (diff)
Handling multiarch
(bzr r4153.9.11)
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r--tools/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index af7d6a4c9..266af451c 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -29,4 +29,5 @@ add_executable(unity-active-plugins-safety-check unity_active_plugins_safety_che
target_link_libraries(unity-active-plugins-safety-check ${LIBS})
install(TARGETS unity-active-plugins-safety-check DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/)
-install(FILES unity-compiz-profile DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/)
+configure_file (${CMAKE_CURRENT_SOURCE_DIR}/unity-compiz-profile.in ${CMAKE_CURRENT_BINARY_DIR}/unity-compiz-profile @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-compiz-profile DESTINATION ${CMAKE_INSTALL_DATADIR}/unity/)