mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Refactoring in commit8c65b7042e(cmExportFileGenerator: Simplify collection of targets missing from export set, 2022-04-11, v3.24.0-rc1~281^2) accidentally dropped the behavior change from commit0ad2a1c181(Export: Never treat private link libraries as public package dependencies., 2013-09-24, v3.0.0-rc1~559^2). Restore the behavior and add a test. Fixes: #23838
8 lines
75 B
C
8 lines
75 B
C
#ifdef _WIN32
|
|
__declspec(dllexport)
|
|
#endif
|
|
int foo(void)
|
|
{
|
|
return 0;
|
|
}
|