--- a/cmake_modules/paths.cmake Tue Jun 11 19:17:52 2013 +0200
+++ b/cmake_modules/paths.cmake Wed Jun 12 00:07:19 2013 +0200
@@ -59,3 +59,6 @@
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
+#install_name_tool magic for OS X
+set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Frameworks")
+