Skip to content
Snippets Groups Projects
Commit 5f7699a4 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Fix version check

parent 5de710ec
No related merge requests found
......@@ -259,7 +259,7 @@ endif ()
# Configure clang-tidy if the tool is found
###########################################################################
if ( CMAKE_VERSION GREATER "3.5" )
if ( CMAKE_VERSION VERSION_GREATER "3.5" )
set(ENABLE_CLANG_TIDY OFF CACHE BOOL "Add clang-tidy automatically to builds")
if (ENABLE_CLANG_TIDY)
find_program (CLANG_TIDY_EXE NAMES "clang-tidy" PATHS /usr/local/opt/llvm/bin )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment