d5c0e215a4
CMake/macOSMaxAllowed.c: avoid C compiler warning in test code CMake/setup.cmake, technical changes: - optimization: test SDK 15.0.0 first to avoid unnecessary test if true - use a function instead of a macro - use different names for (cached) result variables - use prefix FLTK_ for cache variables Note: the cache variables are marked 'internal': you may need to grep CMakeCache.txt to view them.
7 lines
199 B
C
7 lines
199 B
C
|
|
#include <AvailabilityMacros.h>
|
|
#if __MAC_OS_X_VERSION_MAX_ALLOWED < SDK_VERSION_CHECK
|
|
#error __MAC_OS_X_VERSION_MAX_ALLOWED < SDK_VERSION_CHECK
|
|
#endif
|
|
int main(int argc, char** argv) { return 0; }
|