CMake: Add QT_NO_SHOW_OLD_QT_WRAP_CPP_WARNING

This commit is contained in:
Jonas Kvinge 2024-08-17 14:31:51 +02:00
parent acd74d5b54
commit c96ad61c80
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ if(USE_RPATH)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
set(QT_NO_SHOW_OLD_QT_WRAP_CPP_WARNING ON)
find_program(CCACHE_EXECUTABLE NAMES ccache)
if(CCACHE_EXECUTABLE)
message(STATUS "ccache found: will be used for compilation and linkage")