25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 697b90dd..d3e75d2f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -28,19 +28,6 @@ add_compile_definitions(SHA_VER="${GQ_SHA}")
|
|
add_compile_definitions(VER="${VERSION}")
|
|
add_compile_definitions(QT_DEPRECATED_WARNINGS)
|
|
|
|
-if (NOT EXISTS "${PROJECT_SOURCE_DIR}/src/AuxiliarCustomWidgets/.git" OR
|
|
- NOT EXISTS "${PROJECT_SOURCE_DIR}/src/QLogger/.git" OR
|
|
- NOT EXISTS "${PROJECT_SOURCE_DIR}/src/QPinnableTabWidget/.git" OR
|
|
- NOT EXISTS "${PROJECT_SOURCE_DIR}/src/git/.git")
|
|
- message(STATUS "Submodule update:")
|
|
- execute_process(COMMAND git submodule update --init --recursive
|
|
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
|
- RESULT_VARIABLE GIT_SUBMOD_RESULT)
|
|
- if(NOT GIT_SUBMOD_RESULT EQUAL "0")
|
|
- message(FATAL_ERROR "git submodule update --init --recursive failed with ${GIT_SUBMOD_RESULT}, please checkout submodules")
|
|
- endif()
|
|
-endif()
|
|
-
|
|
find_package(Qt6 COMPONENTS Core Widgets Network REQUIRED)
|
|
|
|
file(GLOB SRC_FILES
|