update MacOSX 10.12 detection

pull/64/head
Brad House 8 years ago
parent c41726b42a
commit bc14ee76b9
  1. 3
      CMakeLists.txt

@ -93,6 +93,9 @@ return 0;
CHECK_C_SOURCE_COMPILES ("
#include <stdio.h>
#include <AvailabilityMacros.h>
#ifndef MAC_OS_X_VERSION_10_12
# define MAC_OS_X_VERSION_10_12 101200
#endif
int main() {
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12
# error Not MacOSX 10.12 or higher

Loading…
Cancel
Save