diff --git a/linux/Makefile b/linux/Makefile index c83bdc0e..140ea50e 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -24,6 +24,7 @@ CLONE := $(GIT) clone -q GITHUB := https://github.com CONFIGURE_ENV := \ + CMAKE_POLICY_VERSION_MINIMUM=3.10 \ PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" diff --git a/macos/Dependencies/common.make b/macos/Dependencies/common.make index a54a5296..9033d5ec 100644 --- a/macos/Dependencies/common.make +++ b/macos/Dependencies/common.make @@ -24,6 +24,7 @@ endif CONFIGURE_ENV := \ $(DEPLOYMENT_TARGET_ENV) \ + CMAKE_POLICY_VERSION_MINIMUM=3.10 \ PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" diff --git a/windows/Makefile b/windows/Makefile index f08b62da..fefdffaa 100755 --- a/windows/Makefile +++ b/windows/Makefile @@ -23,6 +23,7 @@ CLONE := $(GIT) clone -q GITHUB := https://github.com CONFIGURE_ENV := \ + CMAKE_POLICY_VERSION_MINIMUM=3.10 \ PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR) \ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"