From e107bd7b556d72ef5273c17f4099198a28edaa4d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 19 Oct 2025 13:59:23 +0300 Subject: [PATCH] Fix 3.19 version check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cac8bd7..5b33422 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ target_link_libraries(boost_assert # Add headers and .natvis to project, for better IDE integration -if(CMAKE_VERSION VERSION_GREATER 3.18) +if(NOT CMAKE_VERSION VERSION_LESS 3.19) # Using target_sources with PRIVATE or PUBLIC on INTERFACE targets requires 3.19