mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-27 02:04:32 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
c0cf1cb69b
commit
8004fd85c6
@ -85,7 +85,7 @@ addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)
|
|||||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
||||||
|
|
||||||
if(${QT_VERSION_MAJOR} GREATER 5)
|
if(${QT_VERSION_MAJOR} GREATER 5)
|
||||||
message("This project not support qt 6 please use the qt5 fir building.")
|
message("This project not support qt6 libraries. Please use the qt5 libraries for building.")
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
|
||||||
@ -150,4 +150,3 @@ if (HANOI_SERVER)
|
|||||||
add_subdirectory(submodules/Patronum)
|
add_subdirectory(submodules/Patronum)
|
||||||
add_subdirectory(HanoiTowers/Server)
|
add_subdirectory(HanoiTowers/Server)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user