mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-20 05:30:19 -06:00
The proper way to use libraries is now through `target_link_libraries` for things such as usage requirements, compile definitions, include directories, etc. To facilitate this, allow `OBJECT` libraries to "link" to other libraries. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Issue: #14778
9 lines
90 B
C
9 lines
90 B
C
#ifdef REQUIRED
|
|
int required()
|
|
{
|
|
return 0;
|
|
}
|
|
#else
|
|
#error "REQUIRED not defined"
|
|
#endif
|