Commit 3822241d authored by Victor Zverovich's avatar Victor Zverovich

Use policy check instead of CMake version check

parent e392eea1
if (CMAKE_MAJOR_VERSION GREATER 2 AND CMAKE_MINOR_VERSION GREATER 0) if (POLICY CMP0054)
# Only interpret `if` arguments as variables or keywords when unquoted. # Only interpret `if` arguments as variables or keywords when unquoted.
cmake_policy(SET CMP0054 NEW) cmake_policy(SET CMP0054 NEW)
endif () endif ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment