Index: smoke/qt/CMakeLists.txt =================================================================== --- smoke/qt/CMakeLists.txt (revision 3640) +++ smoke/qt/CMakeLists.txt (working copy) @@ -120,7 +120,11 @@ ${QT_QTSVG_LIBRARY} ${QT_QTXML_LIBRARY} ) -set_target_properties(qoresmokeqt PROPERTIES VERSION 3.0.0 SOVERSION 3 ) +set_target_properties(qoresmokeqt PROPERTIES VERSION 3.0.0 SOVERSION 3) +# workaround for otool -L paths of qore module. It must go with a path. +if (APPLE) + set_target_properties(qoresmokeqt PROPERTIES INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) +endif (APPLE) # Don't use the KDE ${LIB_INSTALL_DIR} macro here as this file is # for Qt only installs