From f7fbb2dd9dc379d63461351569e4374388d2f0b3 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 22 Sep 2024 09:27:39 +0300 Subject: [PATCH] Tests: Fix cmake policy warning CMake Warning (dev) at tests/manual/debugger/simple/CMakeLists.txt:18 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Change-Id: I61d741550376fe6b3827977f4f43820f5f6824cb Reviewed-by: Christian Stenger --- tests/manual/debugger/simple/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/manual/debugger/simple/CMakeLists.txt b/tests/manual/debugger/simple/CMakeLists.txt index abe4c5b7812..a6b03c0047c 100644 --- a/tests/manual/debugger/simple/CMakeLists.txt +++ b/tests/manual/debugger/simple/CMakeLists.txt @@ -15,7 +15,7 @@ endif() find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Gui Network Widgets) find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui Network Widgets) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Script Webkit WebkitWidgets QUIET) -find_package(Boost QUIET) +find_package(Boost CONFIG QUIET) find_package(Eigen2 QUIET) find_package(Eigen3 QUIET)