mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 02:49:00 +08:00
19 lines
583 B
Diff
19 lines
583 B
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -966,13 +966,13 @@ IF(ANDROID)
|
||
|
IF(BUILD_APP)
|
||
|
ADD_SUBDIRECTORY( app )
|
||
|
ENDIF(BUILD_APP)
|
||
|
+ELSEIF(NOT WITH_QT)
|
||
|
+ MESSAGE(WARNING "the GUI lib and the stand-alone application will not be compiled...")
|
||
|
ELSEIF(Qt5_FOUND OR (QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND))
|
||
|
ADD_SUBDIRECTORY( guilib )
|
||
|
IF(BUILD_APP)
|
||
|
ADD_SUBDIRECTORY( app )
|
||
|
ENDIF(BUILD_APP)
|
||
|
-ELSEIF(WITH_QT)
|
||
|
- MESSAGE(WARNING "Qt not found, the GUI lib and the stand-alone application will not be compiled...")
|
||
|
ENDIF()
|
||
|
|
||
|
IF(BUILD_TOOLS)
|