Skip to content

Commit

Permalink
cmake DISABLE_QT option
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Feb 8, 2025
1 parent 2456d3b commit 8659923
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ add_subdirectory(vnx-addons)
add_subdirectory(lib/libbech32)

find_package(Threads REQUIRED)
find_package(Qt5 QUIET COMPONENTS Widgets WebEngine WebEngineWidgets)
find_library(MINIUPNPC_LIB NAMES miniupnpc)

if(NOT DISABLE_OPENCL)
Expand All @@ -92,6 +91,9 @@ endif()
if(NOT DISABLE_CUDA)
include(cmake/use_cuda.cmake)
endif()
if(NOT DISABLE_QT)
find_package(Qt5 QUIET COMPONENTS Widgets WebEngine WebEngineWidgets)
endif()

file(GLOB GENERATED_SOURCE_FILES
generated/src/*.cpp
Expand Down

0 comments on commit 8659923

Please sign in to comment.