Simply use the MACOSX_DEPLOYMENT_TARGET environment variable:
$ export MACOSX_DEPLOYMENT_TARGET=10.10
Here a list of macos versions:
Snow Leopard (10.6)
Lion (10.7)
Mountain Lion (10.8)
Mavericks (10.9)
Yosemite (10.10)
El Capitan (10.11)
Sierra (10.12)
High Sierra (10.13)
Mojave (10.14)
Catalina (10.15)
Big Sur (11)
Monterey (12)
Ventura (13)
Sonoma (14)
Sequoia (15)