From 2c2b3d6317c6863927b5957c6ee091433c0eef03 Mon Sep 17 00:00:00 2001 From: Nitin Date: Sun, 26 Jul 2026 10:33:11 +0530 Subject: [PATCH 1/2] Fix CMake deprecation warning by updating policy range to 3.9...3.31 (#432) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8a38cfe..c37acc9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.9...3.31) project(concurrentqueue VERSION 1.0.0) include(GNUInstallDirs) From de77662072c014a488275346f6ea47f00432f39d Mon Sep 17 00:00:00 2001 From: Nitin Date: Sun, 26 Jul 2026 10:39:32 +0530 Subject: [PATCH 2/2] Fix CMake install destination include path (fixes #384, #391) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c37acc9e..7421ffd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ install( lightweightsemaphore.h LICENSE.md DESTINATION - ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/moodycamel + ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME} ) set(CPACK_PACKAGE_NAME ${PROJECT_NAME})