Skip to content

Commit

Permalink
CMakeLists: Work around Qt shader bug with Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jun 17, 2024
1 parent 9ce7b4a commit 09295db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions res/shaders/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ qt_add_shaders(mixxx-lib "waveform_shaders"
FILES
"rgbsignal_qml.frag"
)

# Workaround for https://bugreports.qt.io/browse/QTBUG-118500 that can be
# removed once Qt fixes the shader target generation for Xcode.
# See also https://github.com/mixxxdj/mixxx/issues/13378
if(CMAKE_GENERATOR STREQUAL "Xcode")
add_dependencies(mixxx-lib_resources_1 mixxx-lib_waveform_shaders)
endif()

0 comments on commit 09295db

Please sign in to comment.