Skip to content

Commit

Permalink
do not use estervdesign if not qt
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyTheCo committed Mar 25, 2024
1 parent 6785083 commit 18dcd5f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
14 changes: 7 additions & 7 deletions QtQrDec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ else()
find_package(Qt6 COMPONENTS Core Gui Qml Quick ShaderTools Multimedia)
endif(EMSCRIPTEN)

FetchContent_Declare(
EstervDesigns
GIT_REPOSITORY https://github.com/EddyTheCo/MyDesigns.git
GIT_TAG develop
FIND_PACKAGE_ARGS 1.1 COMPONENTS SimpleStyle CustomControls CONFIG
)
FetchContent_MakeAvailable(EstervDesigns)


if (Qt6_FOUND AND TARGET QrDec)
FetchContent_Declare(
EstervDesigns
GIT_REPOSITORY https://github.com/EddyTheCo/MyDesigns.git
GIT_TAG develop
FIND_PACKAGE_ARGS 1.1 COMPONENTS SimpleStyle CustomControls CONFIG
)
FetchContent_MakeAvailable(EstervDesigns)
qt_standard_project_setup()
qt6_add_qml_module(QtQrDec
URI Esterv.CustomControls.QrDec
Expand Down
7 changes: 7 additions & 0 deletions QtQrGen/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
find_package(Qt6 COMPONENTS Core Gui Qml Quick OPTIONAL_COMPONENTS Svg)

if (Qt6_FOUND AND TARGET QrGen)
FetchContent_Declare(
EstervDesigns
GIT_REPOSITORY https://github.com/EddyTheCo/MyDesigns.git
GIT_TAG develop
FIND_PACKAGE_ARGS 1.1 COMPONENTS SimpleStyle CustomControls CONFIG
)
FetchContent_MakeAvailable(EstervDesigns)
qt_standard_project_setup()
qt6_add_qml_module(QtQrGen
URI Esterv.CustomControls.QrGen
Expand Down

0 comments on commit 18dcd5f

Please sign in to comment.