Replace CMake modules with those from a submodule repository
This commit is contained in:
parent
3ba29fded2
commit
56d08e1ffd
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "CMake"]
|
||||||
|
path = CMake
|
||||||
|
url = https://gitea.beniquez.me/sdaveb/CmakeTools.git
|
1
CMake
Submodule
1
CMake
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 3bd6f644028c8a84b5e795aafa69def0cb2f27c0
|
@ -4,23 +4,17 @@ cmake_minimum_required(VERSION 3.26)
|
|||||||
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake)
|
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake)
|
||||||
|
|
||||||
include(BuildProperties)
|
include(BuildProperties)
|
||||||
|
include(BuildOptions)
|
||||||
prevent_in_source_build()
|
|
||||||
disable_deprecated_features()
|
|
||||||
# When this package is included as a subproject, there's no need to
|
|
||||||
# build and run the unit-tests.
|
|
||||||
disable_tests_if_subproject()
|
|
||||||
#git_setup_submodules()
|
|
||||||
|
|
||||||
project(QJsonModel
|
project(QJsonModel
|
||||||
VERSION 0.0.7
|
VERSION 0.0.8
|
||||||
LANGUAGES C CXX
|
LANGUAGES C CXX
|
||||||
# Save this for later:
|
# Save this for later:
|
||||||
# HOMEPAGE_URL <URL>
|
# HOMEPAGE_URL <URL>
|
||||||
DESCRIPTION "QJsonModel is a json tree model class for Qt6/C++17 based on QAbstractItemModel. MIT License."
|
DESCRIPTION "QJsonModel is a json tree model class for Qt6/C++17 based on QAbstractItemModel. MIT License."
|
||||||
)
|
)
|
||||||
|
|
||||||
detect_linkers()
|
check_and_set_linker()
|
||||||
|
|
||||||
include(CPM)
|
include(CPM)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user