diff options
-rw-r--r-- | .cmake.conf | 1 | ||||
-rw-r--r-- | .prev_CMakeLists.txt | 7 | ||||
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | qtgraphicaleffects.pro | 1 |
4 files changed, 5 insertions, 11 deletions
diff --git a/.cmake.conf b/.cmake.conf new file mode 100644 index 0000000..9305480 --- /dev/null +++ b/.cmake.conf @@ -0,0 +1 @@ +set(QT_REPO_MODULE_VERSION "6.0.0") diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt index 50cd55d..60c00c0 100644 --- a/.prev_CMakeLists.txt +++ b/.prev_CMakeLists.txt @@ -2,8 +2,9 @@ cmake_minimum_required(VERSION 3.15.0) +include(.cmake.conf) project(graphicaleffects_FIXME - VERSION 6.0.0 + VERSION "${QT_REPO_MODULE_VERSION}" DESCRIPTION "Qt graphicaleffects_FIXME Libraries" HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C @@ -16,8 +17,4 @@ if(NOT TARGET Qt::Quick) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Quick\" is not met.") return() endif() -if(NOT QT_CONFIG___contains___opengl) - message(NOTICE "Skipping the build as the condition \"QT_CONFIG___contains___opengl\" is not met.") - return() -endif() qt_build_repo() diff --git a/CMakeLists.txt b/CMakeLists.txt index 19d18e6..e7de02e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,9 @@ cmake_minimum_required(VERSION 3.15.0) +include(.cmake.conf) project(QtGraphicalEffects # special case - VERSION 6.0.0 + VERSION "${QT_REPO_MODULE_VERSION}" DESCRIPTION "Qt Graphical Effects" # special case HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C @@ -15,8 +16,4 @@ if(NOT TARGET Qt::Quick) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Quick\" is not met.") return() endif() -if(NOT QT_FEATURE_opengl) # special case - message(NOTICE "Skipping the build as the condition \"QT_FEATURE_opengl\" is not met.") # special case - return() -endif() qt_build_repo() diff --git a/qtgraphicaleffects.pro b/qtgraphicaleffects.pro index 9358333..960aa69 100644 --- a/qtgraphicaleffects.pro +++ b/qtgraphicaleffects.pro @@ -1,5 +1,4 @@ requires(qtHaveModule(quick)) -requires(contains(QT_CONFIG, opengl)) qtHaveModule(quick) { QT_FOR_CONFIG += quick-private |