Commit 6fe08af3 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Removed QTPLUGINS from bundle process.

parent 5c709933
Pipeline #163412 passed with stages
in 20 minutes and 28 seconds
SET(APP_PLUGINS_DIR "@APP_PLUGINS_DIR@")
SET(CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
IF("@CMAKE_SYSTEM_NAME@" STREQUAL "Windows")
FILE(GLOB_RECURSE QTPLUGINS "${APP_PLUGINS_DIR}/*.dll")
ELSEIF("@CMAKE_SYSTEM_NAME@" STREQUAL "Darwin")
FILE(GLOB_RECURSE QTPLUGINS "${APP_PLUGINS_DIR}/*.dylib")
FUNCTION(gp_item_default_embedded_path_override item path)
# This is required to change the Mac Bundle standard to conform to a linux form
SET(${path} "@executable_path/../lib" PARENT_SCOPE)
ENDFUNCTION()
ELSE()
FILE(GLOB_RECURSE QTPLUGINS "${APP_PLUGINS_DIR}/*.so")
FUNCTION(gp_item_default_embedded_path_override item path)
SET(${path} "@executable_path/../lib/" PARENT_SCOPE)
ENDFUNCTION()
......@@ -35,7 +31,7 @@ FOREACH(APP ${APPS})
GET_FILENAME_COMPONENT(FILE_EXT ${APP} EXT)
# only check no extension files or 'exe' extension files
IF("${FILE_EXT}" STREQUAL "" OR "${FILE_EXT}" STREQUAL ".exe")
FIXUP_BUNDLE("${APP}" "${QTPLUGINS}" "")
FIXUP_BUNDLE("${APP}" "" "")
ENDIF()
ENDIF()
ENDFOREACH()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment