C++17/Qt6 application for disk recovery, repair, flashing, formatting, and USB security key creation on Windows. Includes CMake build system, tabbed UI shell with 6 main tabs, core type system with Result<T> monadic error handling, admin elevation, and dark Catppuccin theme.
10 lines
213 B
CMake
10 lines
213 B
CMake
# FindWMI.cmake - Locate WMI libraries on Windows
|
|
# Sets WMI_FOUND, WMI_LIBRARIES
|
|
|
|
if(WIN32)
|
|
set(WMI_LIBRARIES wbemuuid ole32 oleaut32 setupapi)
|
|
set(WMI_FOUND TRUE)
|
|
else()
|
|
set(WMI_FOUND FALSE)
|
|
endif()
|