From: A. Maitland Bottoms <bottoms@debian.org>
Subject: debian policy package paths

Debian cmake supports GNUInstallDirs to set correct
library paths. Also, Debian applications should not
use RPATH.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,6 +7,9 @@
 #set(CMAKE_BUILD_TYPE "ReleaseWithDebugInfo")
 #set(CMAKE_BUILD_TYPE "Debug")
 
+set(CMAKE_SKIP_BUILD_RPATH  TRUE)
+include(GNUInstallDirs)
+
 set(QT_USE_QTOPENGL TRUE)
 set(CMAKE_AUTOMOC ON)
 
