]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Fix two clang-tidy warnings.
[pulseview.git] / CMakeLists.txt
index 3482980958f6ffbf557f95526d7b9f1a9fca0361..1e81a60ce37ee24dfc7d985ca8e7728a48f96fa7 100644 (file)
@@ -29,6 +29,11 @@ if(POLICY CMP0071)
        cmake_policy(SET CMP0071 NEW)
 endif()
 
+# Only interpret if() arguments as variables or keywords when unquoted.
+if(POLICY CMP0054)
+       cmake_policy(SET CMP0054 NEW)
+endif()
+
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake")
 
 #===============================================================================