mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
f35be59961
If two imported targets in different directories have the same name we should still be able to propagate transitive usage requirements from both. Fix the DAG checker to work with target pointers instead of target names since the pointers will not be duplicated even if the names are. Fixes: #18345
17 lines
189 B
C
17 lines
189 B
C
#ifndef DEF_A
|
|
# error "DEF_A not defined"
|
|
#endif
|
|
#ifndef DEF_B
|
|
# error "DEF_B not defined"
|
|
#endif
|
|
|
|
extern void a(void);
|
|
extern void b(void);
|
|
|
|
int main(void)
|
|
{
|
|
a();
|
|
b();
|
|
return 0;
|
|
}
|