Apply cmake-format

This commit is contained in:
Martchus 2021-07-03 19:14:24 +02:00
parent 7765e6f062
commit 67e3d8b4af
1 changed files with 1 additions and 2 deletions

View File

@ -188,8 +188,7 @@ function (query_qmake_variable_path QMAKE_VARIABLE)
# assume VARIABLE_VALUE is relative within CMAKE_FIND_ROOT_PATH, e.g. QT_INSTALL_TRANSLATIONS might be set to
# "share/qt6/translations"
if ("${CMAKE_VERSION}" VERSION_LESS "3.12.0")
message(
WARNING "Unable to resolve Qt variable ${QMAKE_VARIABLE} to an existing path, try using CMake 3.12 or newer")
message(WARNING "Unable to resolve Qt variable ${QMAKE_VARIABLE} to an existing path, try using CMake 3.12 or newer")
return() # skip if CMake version too old like on Leap 15.1
endif ()
foreach (ROOT_PATH ${CMAKE_FIND_ROOT_PATH} "")