|
|
@@ -6,22 +6,9 @@ set(CMAKE_DOC_DIR "doc/cmake" CACHE STRING "")
|
|
|
# Link C/C++ runtime library statically.
|
|
|
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" CACHE STRING "")
|
|
|
|
|
|
-# Enable cmake-gui with static qt plugins
|
|
|
+# Enable cmake-gui.
|
|
|
set(BUILD_QtDialog "TRUE" CACHE BOOL "")
|
|
|
set(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL "3" CACHE STRING "")
|
|
|
-set(qt "$ENV{CI_PROJECT_DIR}/.gitlab/qt")
|
|
|
-set(CMake_QT_STATIC_QWindowsIntegrationPlugin_LIBRARIES
|
|
|
- ${qt}/plugins/platforms/qwindows.lib
|
|
|
- ${qt}/plugins/styles/qwindowsvistastyle.lib
|
|
|
- ${qt}/lib/Qt5EventDispatcherSupport.lib
|
|
|
- ${qt}/lib/Qt5FontDatabaseSupport.lib
|
|
|
- ${qt}/lib/Qt5ThemeSupport.lib
|
|
|
- ${qt}/lib/qtfreetype.lib
|
|
|
- ${qt}/lib/qtlibpng.lib
|
|
|
- imm32.lib
|
|
|
- wtsapi32.lib
|
|
|
- CACHE STRING "")
|
|
|
-set(CMAKE_PREFIX_PATH "${qt}" CACHE STRING "")
|
|
|
|
|
|
# Disable ccmake.
|
|
|
set(BUILD_CursesDialog "OFF" CACHE BOOL "")
|