CMake: fix checking if variable is set
CMake documentation: https://cmake.org/cmake/help/v3.0/command/if.html
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user