Project

General

Profile

Actions

Support Request #15569

closed

ADTF_DISPLAY_TOOLBOXConfig.cmake required ciomponents and importprefix

Added by hidden over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Customer:
CARIAD
Department:
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Known Feature Request
Affected Products:
Platform:
Windows 10 64bit
Topic:
DisplayTB::Common
FAQ Links:

Description

Supportanfrage

Auch wir sind darauf reingefallen, dass man nicht zwei Komponenten gleichzeitig aus der DisplayToolbox 3.6 suchen lassen kann. z.B: find_package(ADTF_DISPLAY_TOOLBOX REQUIRED COMPONENTS base mixinextension graphics drawer)
Das Problem ist schon seit min. v1.5 bekannt, aber leider immer noch nicht gefixt - obwohl es noch nur ein Einzeler wäre!
Siehe #13539, #14832, [ADISTB-1141]

Mir ist aber noch ein zweites Problem aufgefallen:
Es wird auf die falschen DisplayToolbox_FIND_REQUIRED_*-Variablen zugegriffen. Das muss ADTF_DISPLAY_TOOLBOX_FIND_REQUIRED_* heißen.

Mein Vorschlag für einen Patch, der - zumindest bei mir - beide Probleme behebt:

$ diff ADTF_DISPLAY_TOOLBOXConfig.cmake.org ADTF_DISPLAY_TOOLBOXConfig.cmake
6,7d5
< get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
<
10c8,9
<         if(DisplayToolbox_FIND_REQUIRED_${component})
---
>         get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
>         if(ADTF_DISPLAY_TOOLBOX_FIND_REQUIRED_${component})
16a16,17
>
> unset(_IMPORT_PREFIX)

Lösung

Fix erfolgt mit ADTF Display Toolbox 3.7.0

Actions #3

Updated by hidden over 2 years ago

  • Project changed from Public Support to 30
  • Status changed from New to In Progress
  • Customer set to CARIAD
  • Topic set to DisplayTB::Common
  • Platform Windows 10 64bit added
Actions #4

Updated by hidden over 2 years ago

  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ADISTB-1141
Actions #6

Updated by hidden over 2 years ago

  • Status changed from In Progress to Customer Feedback Required

Hallo Marc,

die beiden Punkte sind im nächsten Release der Display-Toolbox behoben.

Viele Grüße,
Andreas

Actions #7

Updated by hidden over 2 years ago

  • Project changed from 30 to Public Support
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Private changed from Yes to No
  • Support Level changed from 2nd Level to 3rd Level
  • Resolution set to Known Feature Request

Befindet sich im Release testing, deploy der 3.7.0 wird diese Woche angestrebt

Actions #8

Updated by hidden about 2 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF