cmake versions

This commit is contained in:
Green Sky 2023-12-14 18:23:30 +01:00
parent a747053a48
commit f9a43c30cc
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View File

@ -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 # cmake setup begin
project(totato) project(totato)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14 FATAL_ERROR) cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR)
include(FetchContent) include(FetchContent)

View File

@ -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) if (NOT TARGET toxcore)
@ -161,8 +161,6 @@ if (NOT TARGET toxcore)
${TOX_DIR}toxencryptsave/toxencryptsave.h ${TOX_DIR}toxencryptsave/toxencryptsave.h
) )
# HACK: "install" api headers into self
# this is dirty, should be binary dir
# TODO: add the others # TODO: add the others
configure_file( configure_file(
${TOX_DIR}toxcore/tox.h ${TOX_DIR}toxcore/tox.h