Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
7c14c663
Commit
7c14c663
authored
Jul 26, 2021
by
Stefano Crocco
Browse files
Fix error in CMakeLists.txt preventing generation of bdic dictionaries
parent
5c80657c
Changes
1
Hide whitespace changes
Inline
Side-by-side
webenginepart/src/CMakeLists.txt
View file @
7c14c663
...
...
@@ -99,7 +99,7 @@ install(FILES settings/kconf_update/webenginepart.upd DESTINATION ${KDE_INSTALL_
#COMPILE HUNSPELL DICTIONARIES AS BDIC FILES
if
(
${
Hunspell_FOUND
}
)
find_package
(
WebEngineDictConverter
)
if
(
DictConverter_FOUND
)
if
(
WebEngine
DictConverter_FOUND
)
#Iterate on all dictionaries
foreach
(
D
${
Hunspell_UNIQUE_DICTIONARIES
}
)
get_filename_component
(
base_name
${
D
}
NAME
)
...
...
@@ -111,7 +111,7 @@ if(${Hunspell_FOUND})
if
(
EXISTS
${
D
}
.dic AND EXISTS
${
D
}
.aff
)
add_custom_command
(
OUTPUT
${
BDIC_name
}
COMMAND
${
DictConverter_EXECUTABLE
}
${
D
}
${
BDIC_name
}
COMMAND
${
WebEngine
DictConverter_EXECUTABLE
}
${
D
}
${
BDIC_name
}
)
#Install the bdic file
install
(
FILES
${
BDIC_name
}
DESTINATION
${
WEBENGINEPART_DICTIONARY_DIR
}
)
...
...
Write
Preview
Supports
Markdown
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