From 0984889b984c725a32b9f1eb2d1ae5cc861ff492 Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 7 Jan 2025 12:19:31 +0100 Subject: [PATCH] Fixed boost cmake warning --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce38b29..5a9bd36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,10 @@ option(LIBCLANG_PATH "Use custom path for libclang") option(LIBLLDB_PATH "Use custom path for liblldb") option(FLATPAK_SANDBOX "Runs from within a flatpak sandbox") +if(POLICY CMP0167) + cmake_policy(SET CMP0167 NEW) +endif() + find_package(Boost 1.54 COMPONENTS REQUIRED filesystem serialization) find_package(ASPELL REQUIRED) include(FindPkgConfig)