cmake versions
This commit is contained in:
parent
a747053a48
commit
f9a43c30cc
@ -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)
|
||||||
|
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
@ -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)
|
||||||
|
|
||||||
|
4
external/toxcore/CMakeLists.txt
vendored
4
external/toxcore/CMakeLists.txt
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user