Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
6fe08af3
Commit
6fe08af3
authored
Sep 10, 2021
by
LEFEBVREJP email
Browse files
Removed QTPLUGINS from bundle process.
parent
5c709933
Pipeline
#163412
passed with stages
in 20 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake/Bundle/fixup_script.cmake.in
View file @
6fe08af3
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()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment