Apply cmake-format
This commit is contained in:
parent
7765e6f062
commit
67e3d8b4af
|
@ -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
|
# assume VARIABLE_VALUE is relative within CMAKE_FIND_ROOT_PATH, e.g. QT_INSTALL_TRANSLATIONS might be set to
|
||||||
# "share/qt6/translations"
|
# "share/qt6/translations"
|
||||||
if ("${CMAKE_VERSION}" VERSION_LESS "3.12.0")
|
if ("${CMAKE_VERSION}" VERSION_LESS "3.12.0")
|
||||||
message(
|
message(WARNING "Unable to resolve Qt variable ${QMAKE_VARIABLE} to an existing path, try using CMake 3.12 or newer")
|
||||||
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
|
return() # skip if CMake version too old like on Leap 15.1
|
||||||
endif ()
|
endif ()
|
||||||
foreach (ROOT_PATH ${CMAKE_FIND_ROOT_PATH} "")
|
foreach (ROOT_PATH ${CMAKE_FIND_ROOT_PATH} "")
|
||||||
|
|
Loading…
Reference in New Issue