cmake: fix dev warnings when enabling Qt (set policy cmp0020)
This commit is contained in:
parent
bdf97c30e3
commit
50f2bef268
@ -96,6 +96,7 @@ if(BUILD_WITH_QT_SUPPORT)
|
||||
include(${QT_USE_FILE})
|
||||
add_definitions(${QT_DEFINITIONS})
|
||||
else()
|
||||
cmake_policy(SET CMP0020 NEW)
|
||||
find_package(Qt5Core REQUIRED)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user