CMake: fix checking if variable is set

CMake documentation:
https://cmake.org/cmake/help/v3.0/command/if.html
This commit is contained in:
Markus Reitboeck
2019-04-11 22:03:56 +02:00
committed by wmayer
parent 98210cfc57
commit d3ea5e0328

View File

@@ -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()