From 11e7252b286c3944dd462baee78fbbdfe36d8789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Thu, 12 Mar 2020 23:48:35 +0100 Subject: [PATCH] Ignore additional CMake build directories (e.g. _build32, _build64) --- .gitignore | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b3a18d09..42d344c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /bin /bin64 +/_build* temp # Emacs diff --git a/CMakeLists.txt b/CMakeLists.txt index 508e00f5..de60804c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ elseif(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) # Building as root project, out of Boost superproject tree, with Boost as dependency. # e.g. on Travis or other CI, or when producing Visual Studio Solution and Projects. # - if(${CMAKE_VERSION} VERSION_LESS 3.15) + if(${CMAKE_VERSION} VERSION_LESS 3.16) message(FATAL_ERROR "Boost.JSON development requires CMake 3.16 or newer.") endif()