mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fixes CMAKE_VERSION check (#759)
* Fixes CMAKE_VERSION check Fixes #758 by using the correct comparison operator for a version See documentation at https://cmake.org/cmake/help/latest/command/if.html Thanks to this change, gsl natvis is properly included in a visual studio solution * cmake version check for cmake < 3.7
This commit is contained in:
parent
0f68d133fa
commit
be3c3c2731
@ -67,7 +67,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if ((CMAKE_VERSION GREATER 3.7.9) OR (CMAKE_VERSION EQUAL 3.7.9))
|
if (CMAKE_VERSION VERSION_GREATER 3.7.8)
|
||||||
if (MSVC_IDE)
|
if (MSVC_IDE)
|
||||||
option(VS_ADD_NATIVE_VISUALIZERS "Configure project to use Visual Studio native visualizers" TRUE)
|
option(VS_ADD_NATIVE_VISUALIZERS "Configure project to use Visual Studio native visualizers" TRUE)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user