File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -915,13 +915,13 @@ function addJsonEditorHostValidation() {
915915// Build a link with localization
916916function buildWL ( link , linkt , cl ) {
917917 const baseLink = "https://docs.hyperion-project.org/" ;
918- const lang = ( storedLang === "de" || navigator . locale === "de" ) ? "de" : "en " ;
918+ const lang = ( storedLang === "de" || navigator . locale === "de" ) ? "de/ " : "" ;
919919
920920 if ( cl ) {
921921 linkt = $ . i18n ( linkt ) ;
922- return `<div class="bs-callout bs-callout-primary"><h4>${ linkt } </h4>${ $ . i18n ( 'general_wiki_moreto' , linkt ) } : <a href="${ baseLink } ${ lang } / ${ link } " target="_blank">${ linkt } </a></div>` ;
922+ return `<div class="bs-callout bs-callout-primary"><h4>${ linkt } </h4>${ $ . i18n ( 'general_wiki_moreto' , linkt ) } : <a href="${ baseLink } ${ lang } ${ link } " target="_blank">${ linkt } </a></div>` ;
923923 } else {
924- return `: <a href="${ baseLink } ${ lang } / ${ link } " target="_blank">${ linkt } </a>` ;
924+ return `: <a href="${ baseLink } ${ lang } ${ link } " target="_blank">${ linkt } </a>` ;
925925 }
926926}
927927
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ endmacro()
2727
2828macro (getTargetImportedLocation result target )
2929 if (TARGET ${target} )
30- foreach (prop IMPORTED_LOCATION IMPORTED_LOCATION_NOCONFIG IMPORTED_LOCATION_DEBUG IMPORTED_LOCATION_RELEASE )
30+ foreach (prop IMPORTED_LOCATION IMPORTED_LOCATION_NOCONFIG IMPORTED_LOCATION_DEBUG IMPORTED_LOCATION_RELEASE IMPORTED_LOCATION_RELWITHDEBINFO )
3131 get_target_property (${result} ${target} ${prop} )
3232 if (NOT ("${${result} }" STREQUAL "${result} -NOTFOUND" ))
3333 break ()
You can’t perform that action at this time.
0 commit comments