From d3ea5e0328bf83890fd9c464e892ec558f200f12 Mon Sep 17 00:00:00 2001 From: Markus Reitboeck Date: Thu, 11 Apr 2019 22:03:56 +0200 Subject: [PATCH] CMake: fix checking if variable is set CMake documentation: https://cmake.org/cmake/help/v3.0/command/if.html --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ad8f86f72..640e8fde8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ endif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") # ================================================================================ # Allow developers to use Boost < 1.48 -if (NOT ${BOOST_MIN_VERSION}) +if (NOT BOOST_MIN_VERSION) set(BOOST_MIN_VERSION 1.48) endif()