Skip to content

Commit

Permalink
Replace CMake modules with those from a submodule repository
Browse files Browse the repository at this point in the history
  • Loading branch information
s-daveb committed May 17, 2024
1 parent 3ba29fd commit 56d08e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "CMake"]
path = CMake
url = https://gitea.beniquez.me/sdaveb/CmakeTools.git
1 change: 1 addition & 0 deletions CMake
Submodule CMake added at 3bd6f6
12 changes: 3 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ cmake_minimum_required(VERSION 3.26)
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake)

include(BuildProperties)

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()
include(BuildOptions)

project(QJsonModel
VERSION 0.0.7
VERSION 0.0.8
LANGUAGES C CXX
# Save this for later:
# HOMEPAGE_URL <URL>
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)

Expand Down

0 comments on commit 56d08e1

Please sign in to comment.