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