forked from qt-creator/qt-creator
Valgrind: Disable warnings
Change-Id: I76c2833828b52b24886e148ff37a07ef87a38336 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
function(add_valgrind_testapp name)
|
function(add_valgrind_testapp name)
|
||||||
add_executable("${name}"
|
add_executable("${name}"
|
||||||
${CMAKE_CURRENT_LIST_DIR}/main.cpp)
|
${CMAKE_CURRENT_LIST_DIR}/main.cpp)
|
||||||
|
set_target_properties(${name} PROPERTIES QT_COMPILE_OPTIONS_DISABLE_WARNINGS ON)
|
||||||
|
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Reference in New Issue
Block a user