
When a dependency was already found, find_dependency did not search it again. While this works in basic case, it does not when there are components as the check does not take components into account. Given the fact that there is no documentation about this optimization and that the correct implementation is not trivial as it would require changes in find_package to have the list of components already found we always search dependencies. Fix #17583.
42 lines
565 B
C++
42 lines
565 B
C++
|
|
#ifndef HAVE_PACK1
|
|
# error Expected HAVE_PACK1
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK2
|
|
# error Expected HAVE_PACK2
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK3
|
|
# error Expected HAVE_PACK3
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK4
|
|
# error Expected HAVE_PACK4
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK5
|
|
# error Expected HAVE_PACK5
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK6
|
|
# error Expected HAVE_PACK6
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK7
|
|
# error Expected HAVE_PACK7
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK7_COMP1
|
|
# error Expected HAVE_PACK7_COMP1
|
|
#endif
|
|
|
|
#ifndef HAVE_PACK8
|
|
# error Expected HAVE_PACK8
|
|
#endif
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
return 0;
|
|
}
|