diff --git a/CMakeLists.txt b/CMakeLists.txt index 83e44a0..1447598 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9 FATAL_ERROR) +cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR) # cmake setup begin project(totato) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 4cb9b6a..06624ae 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14 FATAL_ERROR) +cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR) include(FetchContent) diff --git a/external/toxcore/CMakeLists.txt b/external/toxcore/CMakeLists.txt index 0f97163..ac12ba0 100644 --- a/external/toxcore/CMakeLists.txt +++ b/external/toxcore/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14 FATAL_ERROR) +cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR) if (NOT TARGET toxcore) @@ -161,8 +161,6 @@ if (NOT TARGET toxcore) ${TOX_DIR}toxencryptsave/toxencryptsave.h ) - # HACK: "install" api headers into self - # this is dirty, should be binary dir # TODO: add the others configure_file( ${TOX_DIR}toxcore/tox.h