Skip to content

Commit

Permalink
Fix crash on case sensitive filesystems on Macos
Browse files Browse the repository at this point in the history
Mixxx failed to launch on case-sensitive filesystems on MacOS
because it was unable to find its Qt plugins: it looks for
`PlugIns` rather than `plugins`, which is what the directory was
called.
  • Loading branch information
dbkr committed Jan 11, 2021
1 parent 863c8a8 commit 3af6b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2664,7 +2664,7 @@ if(APPLE AND MACOS_BUNDLE)
get_filename_component(_qt_plugin_file "${_qt_plugin_path}" NAME)
get_filename_component(_qt_plugin_type "${_qt_plugin_path}" PATH)
get_filename_component(_qt_plugin_type "${_qt_plugin_type}" NAME)
set(_qt_plugin_dest "${_prefix}/Contents/plugins/${_qt_plugin_type}")
set(_qt_plugin_dest "${_prefix}/Contents/PlugIns/${_qt_plugin_type}")
install(FILES "${_qt_plugin_path}"
DESTINATION "${_qt_plugin_dest}")
set(${_qt_plugins_var}
Expand Down

0 comments on commit 3af6b00

Please sign in to comment.