CMake for Windows: remove the remaining lines for Qt 4.

This commit is contained in:
Thibaut Cuvelier 2022-12-15 00:53:40 +01:00
parent 23aab19b59
commit 40edcfe2f1

View File

@ -29,17 +29,7 @@ if(NOT WIN32)
set(_prog_path ~/bin)
else()
if(WINDEPS)
FIND_PROGRAM(LYX_QMAKE NAMES qmake)
if(NOT LYX_QMAKE)
message("------ qmake not found. Add YOUR_PATH\\lyx-windows-deps-msvc-qt4\\qt-4\\bin")
message("------ to PATH: set PATH=%PATH%;YOUR_PATH\\lyx-windows-deps-msvc-qt4\\qt-4\\bin")
message(FATAL_ERROR "Exit.")
else()
GET_FILENAME_COMPONENT(LYX_QMAKE_PATH ${LYX_QMAKE} PATH)
set(WINDEPSDIR "${LYX_QMAKE_PATH}/../..")
endif()
set(GNUWIN32_DIR ${WINDEPSDIR})
set(GNUWIN32_DIR "${LYX_QMAKE_PATH}/../..")
endif()
find_package(GNUWIN32 REQUIRED)