21 lines
619 B
Diff
21 lines
619 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index c046b597..89c64b95 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -100,14 +100,7 @@ if(NOT WIN32)
|
|
endif()
|
|
|
|
# qwindowkit (frameless window)
|
|
-add_fetch_content(
|
|
- TARGET qwindowkit
|
|
- URL https://github.com/stdware/qwindowkit.git
|
|
- BRANCH 758b00cb6c2d924be3a1ea137ec366dc33a5132d
|
|
- PATCHES ${QWINDOWKIT_PATCHES}
|
|
- OPTIONS ${QWINDOWKIT_OPTIONS}
|
|
-)
|
|
-list(APPEND CLIENT_INCLUDE_DIRS ${QWindowKit_BINARY_DIR}/include)
|
|
+find_package(QWindowKit)
|
|
list(APPEND CLIENT_LIBS QWindowKit::Quick)
|
|
|
|
# If ENABLE_CRASHREPORTS is enabled, we will use crashpad_cmake for now.
|