X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=1e81a60ce37ee24dfc7d985ca8e7728a48f96fa7;hp=3482980958f6ffbf557f95526d7b9f1a9fca0361;hb=b887c4d87ee9e5fdf4363c1d46e337485ed83539;hpb=1c4ec8d0157dfdd9d567e0d183e3813c330e954a diff --git a/CMakeLists.txt b/CMakeLists.txt index 34829809..1e81a60c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") #===============================================================================