diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8af09eab..24b06251 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,7 +62,8 @@ endif() set_target_properties(dlt-viewer PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin - INSTALL_RPATH "$<$:$ORIGIN/../lib;>$<$:@loader_path/../Frameworks;>$<$:${DLT_QT_LIB_DIR}>") + INSTALL_RPATH "$<$:$ORIGIN/../lib;>$<$:@loader_path/../Frameworks;>$<$:${DLT_QT_LIB_DIR}>" + MACOSX_BUNDLE TRUE) install(TARGETS dlt-viewer DESTINATION "${DLT_EXECUTABLE_INSTALLATION_PATH}"