diff --git a/targets/baremetal-sdk/espressif/CMakeLists.txt b/targets/baremetal-sdk/espressif/CMakeLists.txt index 826baf761a..17ee60bdbb 100644 --- a/targets/baremetal-sdk/espressif/CMakeLists.txt +++ b/targets/baremetal-sdk/espressif/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.5...3.10) set(SDKCONFIG ${CMAKE_BINARY_DIR}/sdkconfig) # Workaround to generate sdkconfig into the build directory. diff --git a/targets/baremetal-sdk/espressif/main/CMakeLists.txt b/targets/baremetal-sdk/espressif/main/CMakeLists.txt index 78fa2b8477..3657a25a51 100644 --- a/targets/baremetal-sdk/espressif/main/CMakeLists.txt +++ b/targets/baremetal-sdk/espressif/main/CMakeLists.txt @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.5...3.10) # Set JerryScript variables set(JERRY_ROOT_DIR ${PROJECT_DIR}/../../..)