Commit 10fdef5e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt6

parent 46df72b7
Pipeline #121569 passed with stage
in 4 minutes and 41 seconds
......@@ -81,7 +81,7 @@ set_package_properties(Qt5TextToSpeech PROPERTIES DESCRIPTION
"Add support for texttospeed"
TYPE OPTIONAL
)
if(TARGET Qt5::TextToSpeech)
if(TARGET Qt${QT_MAJOR_VERSION}::TextToSpeech)
set(HAVE_TEXT_TO_SPEECH_SUPPORT TRUE)
add_definitions(-DHAVE_TEXT_TO_SPEECH_SUPPORT)
endif()
......
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