equal
deleted
inserted
replaced
14 string(REGEX REPLACE "([0-9]+.[0-9]+).[0-9]+" "\\1" current_macosx_version ${current_macosx_version}) |
14 string(REGEX REPLACE "([0-9]+.[0-9]+).[0-9]+" "\\1" current_macosx_version ${current_macosx_version}) |
15 else() |
15 else() |
16 if(NOT minimum_macosx_version) |
16 if(NOT minimum_macosx_version) |
17 message(FATAL_ERROR "sw_vers not found! Need explicit MACOSX_DEPLOYMENT_TARGET variable set") |
17 message(FATAL_ERROR "sw_vers not found! Need explicit MACOSX_DEPLOYMENT_TARGET variable set") |
18 else() |
18 else() |
19 message(${WARNING} "sw_vers not found! Fallback to MACOSX_DEPLOYMENT_TARGET variable") |
19 message("*** sw_vers not found! Fallback to MACOSX_DEPLOYMENT_TARGET variable ***") |
20 set(current_macosx_version ${minimum_macosx_version}) |
20 set(current_macosx_version ${minimum_macosx_version}) |
21 endif() |
21 endif() |
22 endif() |
22 endif() |
23 |
23 |
24 #if nothing is set, we deploy only for the current system |
24 #if nothing is set, we deploy only for the current system |